httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark jensen <ngiw2...@hotmail.com>
Subject RE: [users@httpd] Use Allow from IP when there is a proxy exist?
Date Fri, 08 Aug 2014 01:15:50 GMT
I have found something like that, iS it true to use it:

Your .htaccess file:
# ALLOW USER BY IP
order deny,allow
deny from all
SetEnvIF X-Forwarded-For "1.2.3.4" AllowIP
SetEnvIF X-Forwarded-For "5.6.7.8" AllowIP
Allow from env=AllowIP
allow from 1.2.3.4
allow from 5.6.7.8source: http://frustratedtech.com/post/42641261089/htaccess-file-to-block-ips-coming-from-varnish
 		 	   		  
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Mime
View raw message