httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Admin-Stress <>
Subject [users@httpd] Help with mod_rewrite
Date Thu, 08 Jul 2004 20:44:02 GMT

I want to redirect/block some HTTP_REFERER using apache 2.0.48.

Here is an example of the HTTP_REFERER :

I got it from apache log file. But I just want to block every connection from .

And here is the mod_rewrite config in my httpd.conf :

   RewriteEngine on
   RewriteLogLevel 3
   RewriteLog "/home/www/"
   RewriteCond %{HTTP_REFERER} ^http://www.absba.* [OR,NC]
   RewriteRule ^(.*)$

I tried several other RewriteCond but no luck 
I dont quite understand with regular expression

please help.


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message