On Wed, Jun 27, 2001 at 05:12:59PM +1000, enterfornone wrote:
> > Hi all,
> > 
> > Just setting up Apache conf file and I have the following:
> > 
> > <DirectoryMatch ^/home/.*/public_html>
> > Options Indexes SymLinksIfOwnerMatch
> > AllowOverride None
> > # MRL added next 3 lines
> > order deny,allow
> > deny from all
> > allow from 130.10.11.12     # allow from my own IP addr 
> > # allow from localhost      # why does this not work?
> > </DirectoryMatch>
> > 
> > I seem to have to put my static IP addr in there for it to work.
> > Putting localhost does not work in any of the directives.
> > It would be preferable in case my IP addr changes sometime.
> > Why? What am I doing wrong.
> 
> Does it do DNS lookups?  Perhaps 127.0.0.1 would be better than localhost.

To the first part, ?
To the second part, no 127.0.0.1 also does not work.

Mike
-- 
When I was little, I went into a pet shop and they asked how big I'd get. -- Rodney 
Dangerfield

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] 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

Reply via email to