Remote Address Request

27 April 2014, 13:07
After searching the manual, HOWTO: The URL toolkit (syntax) and forum for "Redirect the ip addresses to different pages" solution, I have made a request for something similar to htaccess like below.

RewriteCond %{REMOTE_ADDR} ^123\.xxx\.xxx\.* [OR]
RewriteCond %{REMOTE_ADDR} ^234\.xxx\.xxx\.*
RewriteRule .* [R,L]

RewriteCond %{REMOTE_ADDR} ^xxx\.xxx\.xxx\.* [OR]
RewriteCond %{REMOTE_ADDR} ^xxx\.xxx\.xxx\.*
RewriteRule .* [R,L]

So on...

Currently using 'AccessList' to deny ip addresses from my competitors. That led to the 'Error 403' page. Also, using url toolkits (DenyAccess) to blocking bad bots and php scanners - both led to same 'Error 403' page as 'AccessList' does. I wanted to separate that as above.

Hugo Leisink
27 April 2014, 22:03
This is something Hiawatha does not support. If you want to do something like this, write a simple CGI script for it.
This topic has been closed.