Results 1 to 2 of 2

Thread: htaccess question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Xstr8guy
    Guest
    I'm no expert, but I think you need .htaccess like this to prevent hotlinking.

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://www.hairyguys.us [NC]
    RewriteCond %{HTTP_REFERER} !^http://hairyguys.us [NC]
    RewriteRule .*\.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|rm|RM| swf|SWF)$ http://www.hairyguys.us/404page.html [R,L]


    here's a good link for more info.
    http://www.htmlbasix.com/generators.shtml
    Last edited by Xstr8guy; 03-09-2004 at 09:17 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •