httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Clarke" <clark...@cs.man.ac.uk>
Subject mod_rewrite + flash files
Date Thu, 07 Feb 2002 18:40:07 GMT
Hi,
I have a members area that I need to keep secure just for my url so i have
the following:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://.*domain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://.*ip.ip.ip.ip [NC]
RewriteRule .*$ /404.html

This protects all files and sends to 404.html if it doesn't match my
domain/ip
The problem is flash files dont load either =( I looked at the apache logs
and the REFERER which mod_rewrite uses to check if its a valid connection is
missing. The flash swf file is called without a REFERER from the html page.

Any suggestions to the solution would be appreciated.

Richard Clarke




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message