Blocking with /etc/hosts to 127.0.0.1 - blocked sites ask for authentication!
Posted on 2003-11-10
I run a web server that is open when in the 192.168 range, but requires a password when accessed on the internet.
The setup is Apache 1.27 on Mandrake 9.1
I also run squid and DansGuardian but don't think that they are involved here.
I recently installed a hosts file that blocks some common ad servers. Whether the servers have 127.0.0.1 or 0.0.0.0 as their IP address, I am asked for authentication as if I am on the internet. If I click OK I am repreatedly asked for authentication, if cancel I get "denied"
The directives are currently as follows:
AuthName "Access by invitation only!"
require user myuser
Allow from 192.168.1.0/255.255.255.224
All help greatly received.