Solved

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

Posted on 2003-11-10
3
237 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now