httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] DocumentRoot for Name-based Virtual Host
Date Wed, 14 Sep 2005 18:26:31 GMT
On 9/14/05, matt-nc <ncmail@triad.rr.com> wrote:
> It says, client denied by server configuration:
> /home/amos/local-web/php/welcome.php

This indicates an apache configuration issue rather than file-system
permissions.  You need to have
<Directory /home/amos/local-web/php>
Order Deny,Allow
Allow from all
</Directory>

Or something of the sort.


> Does the localhost seem like the correct server name to specify since I'm
> just using it for a localhost web server and the /conf/hosts file has an
> entry 127.0.0.1 localhost?

It doesn't matter what you put for ServerName, since the first listed
<VirtualHost> will simply catch any name that doesn't match ServerName
in the other <VirtualHost>s.

Joshua.

---------------------------------------------------------------------
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


Mime
View raw message