Re: [users@httpd] DocumentRoot for Name-based Virtual Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/14/05, matt-nc <ncmail@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux