[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Apache: why doesn't "allow from localhost work" ?

On Wed, Jun 27, 2001 at 05:21:30PM +1000, Mike Lake wrote:
> On Wed, Jun 27, 2001 at 05:12:59PM +1000, enterfornone wrote:
> > Does it do DNS lookups?  Perhaps would be better than localhost.
> To the first part, ?
> To the second part, no also does not work.

Ok. my /etc/hosts says	localhost
etc.....some other machines

so it should be able to understand localhost as as I have

# /etc/nsswitch.conf
blah blah...
hosts:          files dns

Now that line above should tell system to look at files first before trying
to resolve via dns and my name server. But surely would not Apache know that is this machine?

Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.

Michael Lake, University of Technology, Sydney
Work: Mike.Lake@nospam.uts.edu.au Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.

SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug