Anti-Leech (for Images and HTML)
Anti-Leech (for Images and HTML)
This feature is not possible with Abyss alone. The technique I'm about to show you, will allow you to display a Image or an HTML error based on the type of request. Enjoy!

Read the following guide and you will have Anti-Leech
support within just a few minutes.

Return to the Hacks page

Let's get to the Hacking...
How does the Anti-Leech (For Images and HTML) work?

The server will look at the Error 403 request sent and determine the file type. If the request was an image, the error image will be sent, but if it is another file type, the HTML error will be sent. This is
a great way for alerting people that they cannot leech your image files.

I'm interested, how do I use Anti-Leech (For Images and HTML) support?

Make sure you correctly installed PHP before you begin. This will not be possible without PHP installed. PHP Tutorial (Windows), or you can use AbyssUnderground's tutorial. Aprelium also provides a tutorial for use with their Pre-Configured PHP package. (Recommended)

Note: Aprelium's PHP Tutorial, shows you how to install PHP for Windows, Linux, Mac OS X, and FreeBSD. I recommend this to the non-Windows folks.

First, you need to download the file and save it to your htdocs folder. Now you must unzip your file and open error403.php and edit line #13, "$image" option. Assuming your "anti_leech.jpg" is in your htdocs, we will use: $image = "anti_leech.jpg";

Configuring "Abyss Web Server" for Anti-Leech support.

Open your Abyss Web Server console and click on the Host you wish to configure. Go to "Custom Error Pages." Click Add, and add the following settings.

Error Code: 403
Associated URL: /error403.php

After you copy the following settings, click OK and go to "Anti-Leeching." Add some paths to the Scope that are not allowed to be leeched from your server. Use any other settings you wish to use. Do not set "Redirect Leechers to URL" option!

To test it, simply leech a Image file from your server and display it on another (Such as a Forum). You should see a kitten putting its paws up. Well, hope you liked the tutorial. C ya!

Note: The HTML Error 403 code is in your error403.php file. Feel free to change the HTML with your own if you don't like Abyss Web Server's default 403 error. I've also included a new tool that I decided to add, which is the "Anti-Leech Monitoring System." Enjoy!

Return to the Hacks page.
Copyright © 2006-2021
All Rights Reserved.