2 messages in org.apache.httpd.usersmod_rewrite + flash files
FromSent OnAttachments
Richard ClarkeFeb 7, 2002 10:39 am 
jon schatzFeb 7, 2002 11:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:mod_rewrite + flash filesActions
From:Richard Clarke (clar@cs.man.ac.uk)
Date:Feb 7, 2002 10:39:45 am
List:org.apache.httpd.users

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.