Re: virtual instances

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

 



On Wed, Jul 16, 2008 at 09:50, Melanie Pfefer
<melanie_pfefer@xxxxxxxxxxx> wrote:

> When I access http://zeus:80 I get the "It works". When I access http://zeus:81, the logs show:
> [Wed Jul 16 09:37:18 2008] [error] [client 172.21.194.71] client denied by server configuration: /usr/local/apache2/htdocs1/

There is something in your config that blocks access to
/usr/local/apache2/htdocs1/

A default apache usually comes with something like thisin its config:

<Directory />
      Order Allow,Deny
      Deny from All
<Directory>
<Directory /usr/local/apache2/htdocs>
      Order Allow,Deny
      Allow from All
<Directory>

This disallows access in general, and allows it again for your document root.

If you add a virtual server with a different document root you need to
add access to this directory too:

<Directory /usr/local/apache2/htdocs1>
      Order Allow,Deny
      Allow from All
<Directory>

You should also make sure that your second document root (htdocs1) is
readable by the user the apache daemon runs as.

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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