Hi,

i am using a code like this: (i changed my url to mydomain.de - doesn't matter in this case)

Code:
AuthUserFile /dev/null
AuthGroupFile /dev/null

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://mydomain.de/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.de/ [NC]
RewriteCond %{HTTP_REFERER} !^http://redesign.mydomain.de/ [NC]
RewriteRule /* http://www.mydomain.de/download.php?get=xxxx [R,L]
It perfectly redirects all requests not coming from mydomain.de, www.mydomain.de and redesign.mydomain.de to the download.php file. unfortunatelly i cannot get the file, which was actually requested. I tried to pass the parameter get to my script but i don't know how to send the requestet url with it. could someone please give me a corrected code where RewriteRule will add some variables like request_uri or http_referer to the download.php script ?

thanks in advance,
MfG,
Matrix