httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clive Kinton <>
Subject [users@httpd] OT: Vista Xampp and 'allow from localhost'
Date Wed, 30 Sep 2009 19:47:45 GMT
Has anybody run into some weirdness with Apache 2.2.12 from Xampp on
Vista and ip to hostname resolution for 'localhost'? The httpd.conf is
vanilla, as shipped.

Specific issue: Trying to limit access to a directory with a
simple .htaccess file like:

Order deny,allow
Deny from all
Allow from localhost
Allow from

or even

Order allow,deny
Allow from localhost
Allow from

>>From the localhost calling the protected directory thus:

Works - but -
does not and 403's

A similar Linux box running apache on the same network does not do this,
leading me to think there is some kind of weirdness going on with how
Vista resolves IP to hostname.

I've done the obvious things I can think of (hosts/lmhosts) but there is
a gap in my understanding of where Vista will look to resolve
'localhost'. An entry in hosts does not seem sufficient.

Any pointers gratefully received. I know this is OT, but perhaps someone
has come across this?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message