Return to Snippet

Revision: 57167
at May 18, 2012 20:56 by aruldave

Initial Code
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$
RewriteRule .? [L]

Initial URL

Initial Description
The below code lets you stop access from the remote IPs excluding your local machine IP. This code can be setup where someone wants to provide an internal access and restricting the external access for the web service. 
-  [Automated Predictive Dialler Software for Call Centres]( "Automated Predictive Dialler Software for Call Centres")

Initial Title
.htaccess script to block remote access and allow local ip

Initial Tags
regex, php, server, htaccess

Initial Language