httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwien Samantha Y <>
Subject [users@httpd] restrict some IP to accessed an URI
Date Wed, 08 Jan 2003 09:51:47 GMT
Hello folks,

I need help with rewrite ,
the purpose is block some IP address to accessed an URI.
example : on accessible from

i already define like this 

RewriteCond %{REQUEST_URI} [NC,OR]
RewriteCond %{REMOTE_ADDR}      !^10\.32\.1\.1$
RewriteRule ^(.+) [R,L]
RewriteLog      "/www/logs/rewrite.log"

But still no effect 
please help me ..


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