httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <>
Subject mod_rewrite
Date Fri, 15 Mar 2002 02:03:02 GMT

Any ideas on how to know in mod_rewrite if a request is coming from one of
the local IP addresses w/o explictly listing all of them?
I try:

RewriteCond %{REMOTE_ADDR} !127\.0\.0\.1

but the SERVER_ADDR line does not work because RewriteCond does not expands
anything in the second argument



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

View raw message