httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
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 <> 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

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


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