Apache suddenly rejects localhost

Joel Hammer Joel
Mon May 17 11:48:27 PDT 2004


For reasons unclear to me, my browser started to report 127.0.0.1 to the
server, instead of 192.168.0.6. A network mystery.

Joel
On Sun, Jun 15, 2003 at 10:03:58AM -0700, Net Llama! wrote:
> Did you change /etc/hosts ?
> 
> On 06/15/03 09:30, Joel Hammer wrote:
> 
> > I have been using apache for several, years, recently upgraded to 1.3
> > or whatever (the most recent version.) All has been working fine.
> > 
> > I have one password protected directory with this configuration:
> > 
> > <Location /flags>
> >         Order Deny,Allow
> >         Deny from All
> >         Allow from 192.168. school trusted.org
> >         AuthType Basic
> >         AuthName "Sorry-Members only"
> >         AuthUserFile /etc/httpd/conf/secret.users
> >         require valid-user
> > </Location> 
> > 
> > This has worked fine for several years.  Suddenly, while logging onto
> > this page from the local host apache is running on, I was denied access
> > with this error in the log:
> > 
> > [client 127.0.0.1] client denied by server configuration: /home/httpd/html/flags
> > 
> > I fixed this problem by adding localhost to the Location
> > configuration. But, my obvious question, why now? Nothing had changed. I
> > was able to log onto this page all morning but suddenly this error
> > popped up.
> > 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman                       	       netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com
> 
>   10:00am  up 14:44,  1 user,  load average: 0.00, 0.00, 0.00
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list