httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Clarke" <>
Subject mod_rewrite + flash files
Date Thu, 07 Feb 2002 18:40:07 GMT
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://.* [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
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:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message