Hi, I have been unable to redirect by IP to another directory in the same webserver.
I need to redirect an IP to a specific file, regardless of what directory or page the user has entered the web application.
My attempt so far has been:
RewriteEngine on
RewriteCond %{REMOTE_ADDR} 100.100.100.100 [OR]
RewriteCond %{REMOTE_ADDR} 200.200.200.200
RewriteRule .* /foo/bar.htm
The above example just loops for ever...
Any help available for Mr Frustrated of Wiggan ?
I need to redirect an IP to a specific file, regardless of what directory or page the user has entered the web application.
My attempt so far has been:
RewriteEngine on
RewriteCond %{REMOTE_ADDR} 100.100.100.100 [OR]
RewriteCond %{REMOTE_ADDR} 200.200.200.200
RewriteRule .* /foo/bar.htm
The above example just loops for ever...
Any help available for Mr Frustrated of Wiggan ?