Author Login
Post Reply
On Wed, Jul 16, 2008 at 09:50, Melanie Pfefer
<melanie_pfefer@(protected):
> 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@(protected)
krist@(protected)
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@(protected)
" from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)