RewriteCond using HTTP_REFERER does not work for some users
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > RewriteCond using HTTP_REFERER does not work for some users




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    RewriteCond using HTTP_REFERER does not work for some users  
Jan Harder


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-04 07:33 PM

Hello,

I'm trying to protect some images against leeching and used the
following configuration in httpd.conf in a virtual server context:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !.*mydomain.(de|com).*
RewriteRule .*/path/to/images.* - [F]

It works fine on some computers, but on some machines it always sends
out the 403, even if the referer is correkt (matches mydomain.(de|com)).

All Computers I tested with use IE6 and send correct referers. Any idea
what could be wrong?

Jan Harder





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register