Solved

Blocking with /etc/hosts to 127.0.0.1 - blocked sites ask for authentication!

Posted on 2003-11-10
3
242 Views
Last Modified: 2012-05-04
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:

order allow,deny
AuthName "Access by invitation only!"
AuthType Basic
AuthUserFile /usr/local/apache/passwd/passwords
require user myuser
#Require valid-user
Satisfy any
Allow from 192.168.1.0/255.255.255.224


All help greatly received.
0
Comment
Question by:thomaswp
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Tacobell777 earned 250 total points
ID: 9718614
Have you got Allow Anonymous access disabled?
If so, add the problem ips to your Trusted sites/Intranet sites under Internet Explorer

If this solved it, then the reason is because as soon as there is a dot in a address IE thinks its on the Internet.
0
 
LVL 1

Author Comment

by:thomaswp
ID: 9721495
Not sure about Anonymous Access - I'll check.

I never use IE I am afraid, so don't know about that ...

Thomas
0
 
LVL 1

Author Comment

by:thomaswp
ID: 11089473
I have no idea how I solved it, but the anonymous thing sounds right...
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question