You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alan Milnes <al...@milnes7.com> on 2004/02/13 10:02:50 UTC

[users@httpd] Access to localhost

Hi,

I have a small home LAN setup with a desktop computer running Microsoft
XP / Apache / PHP and a Laptop running Windows 2000.

I am having trouble with accessing localhost (using either
http://127.0.0.1/ or http://localhost/) on the Desktop machine.

My localhost directory is d:/website

My config is set as follows:-

<Directory "d:/website">

    Options Indexes FollowSymLinks


    AllowOverride None


    Order allow,deny
    Deny from all
    Allow from 192.168

</Directory>

My laptop can access the Internet OK through Apache but when I try to
access localhost on my desktop I get the following error:-

[Fri Feb 13 08:29:27 2004] [error] [client 127.0.0.1] client denied by
server configuration: d:/website/

If I change my directory settings to 'Allow from all' then it works OK -
I don't really want to do that though, even if my firewall is configured
to reject incoming requests.

Any help / advice / links to URLS etc gratefully received.

Thanks,

Alan



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org