Making a popup whenever any file is requested

New to mod_rewrite? This is a good place to start.

Making a popup whenever any file is requested

Postby Archbob » Wed Jul 21, 2004 8:56 am

So I have the following code:
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_REFERER} !=%{REQUEST_ADDR}
RewriteRule ^(.*) /test/dwnld.php?f=$1



dwnld.php first pops up an ad and then redirects. However, I get an infinite redirection. I'm try to get it where it redirects the first time but does not redirect the 2nd.
Archbob
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 32 guests

cron