View Single Post
Old 03-20-2010, 06:34 AM  
TheDA
Confirmed User
 
Industry Role:
Join Date: May 2006
Posts: 4,665
Restricting access by IP in htaccess not working - any ideas

I have an admin directory restricted to my ISP host

This has worked great for months, now it doesn't and it locks me out.

From what I can see, when I confirm the host name being used, this has changed. I have added the new host name to the htaccess but still not working.

Depending on the service I use to check the ISP host name I get 2 different results, boith of these are added to the htaccess.

I can add the actual IP address to htaccess and it works, but why is host name not working?

What have I missed? Is this a cache issue somewhere do you think?

Code:
<Limit GET POST PUT>
order deny,allow
deny from all
allow from .originalhostname.com
allow from .newhostname.com
</Limit>
TheDA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote