http://pastebin.com/m50a4d3ff wrote:
- Code: Select all
RewriteCond ${rewritemap:%{REMOTE_ADDR}} ok
RewriteRule !^redirect.php$ http://%{HTTP_HOST}%{REQUEST_URI} [P,L]
Apache.conf contains
- Code: Select all
RewriteMap testmap txt:/var/www/testmap.txt
testmap.txt contains
- Code: Select all
192.168.0.182 ok
When I do a request from 192.168.0.182 it is not being matched..what have I mised here ?
Users browsing this forum: No registered users and 9 guests