I run a small CGI Proxy Site.

I haven't devoted a lot of effort yet to digging into CGIProxy, but I had to do so earlier today because of a problem with a hotlinker.

A fellow named Song Guo Qiang runs a site called Mamproxy that does nothing but hotlink CGI Proxy sites.

I added the following code to the virtual host entry for this domain in httpd.conf. This should prevent the hotlinking and redirect visitors back to the domains home page.

Code:
    # Prevent hotlinking
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?cgiproxysite.com(/)?.*$ [NC]
    RewriteRule ^/cgi-bin/nhp-cgi-proxy-site.cgi(.*) http://www.cgiproxysite.com [R,NC]