Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do Apache, PHP, and MySQL All Work Together? 6 87
local dns 2 152
browser caching 4 71
development site is indexed by google even though behind htpasswd 7 60
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

806 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