Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.67 sec)
Using IP Addresses in htaccess files

order allow,deny

deny from all

allow from 11.11.11.11

allow from 22.22.22.22

allow from 33.33.33.33



I think this should work but it just isn't :) Any help appreciated.
Asked by:
TomPating
1355 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: Using IP Addresses in htaccess files
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (2)

Best Answer

You need to have AllowOverride All in your vhost.

Response by:
BonoEstente
1464 points
That fixed it ! I changed it in vhosts recently. Thanks.

Response by:
TomPating
1355 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle