httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@rawbyte.com>
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
RewriteCond %{REMOTE_ADDR} !=%{SERVER_ADDR}

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

Thanks

Daniel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message