Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with a .htaccess against hotlinking

    I've made a .htaccess against hotlinking, but the server send a 500 error !

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^http://www.ericfichot.webdynamit.net [NC]
    RewriteCond %{HTTP_REFERER} !^http://ericfichot.webdynamit.net [NC]
    RewriteCond %{HTTP_REFERER} !^http://aideinfo.eu.org [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.aideinfo.eu.org [NC]
    RewriteCond %{HTTP_REFERER} !^http://monsite1.com [NC]
    
    RewriteRule /* http://aideinfo.eu.org/monimage.gif [R,L]
    where is the problem ?
    I've replaced RewriteCond by RewirteRule, but the result is the same.

  • #2
    New to the CF scene
    Join Date
    Oct 2003
    Location
    Western NY
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    One of the examples that I have show the following

    ReWriteRule \. (gif | jpg)$ - [F]

    I do not know, but could it be that the / in your last line should be \

    Jerry


  •  

    Posting Permissions

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