Forum Moderators: phranque

Message Too Old, No Replies

.htaccess

htaccess deny/allow/password

         

whodunnit

5:59 pm on Jul 17, 2004 (gmt 0)

10+ Year Member



What I am trying to do is, using the Deny, allow script allow most IP's, but deny a handfull too. This part works fine. The problem I have is for 1 IP that I have on the deny list I want to prompt for a password.

The IP is my work and I want to be able to log in with out having to remove/edit that .htaccess file while I am here. This file has my whole site blocked too.

Is this Possible?

jdMorgan

7:35 pm on Jul 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, see the Satisfy any [httpd.apache.org] directive in Apache core.

Jim

whodunnit

8:26 pm on Jul 17, 2004 (gmt 0)

10+ Year Member



Thanks for the help and the speedy reply! :)