Copyrighted Pictures


On this mongoose server, all gif files are sent through a handler that verifies that the referer is mongoose. The handler is similar to the script from the text that prevents image hijacking. The advantage to using a handler is that the image can be refered to normally.

Add the following for the directory where you want tp prevent hijacking
Action nohijack /cgi-gin/nohijack.cgi
AddHandler nohijack .cgi

The name of the image will be sent to the script as extra path info. Of course, you will need to create the nohijack.cgi script in the cgi-bin directory