Solved

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

Posted on 2003-11-10
3
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

624 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