Re: virtual instances

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

 



Melanie Pfefer wrote:
I added these lines:

Listen 80
Listen 81

NameVirtualHost 10.0.100.4:80
NameVirtualHost 10.0.100.4:81

<VirtualHost 10.0.100.4:80>
ServerName zeus
DocumentRoot /usr/local/apache2/htdocs
</VirtualHost>

<VirtualHost 10.0.100.4:81>
ServerName zeus
DocumentRoot /usr/local/apache2/htdocs1
</VirtualHost>

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/

Check the error_log, there should be a better error message than 'server configuration'. Also, usually you need to have a little more information in the VHost configuration (minimal, a <Directory> block with the permissions for the DocumentRoot)

Check also the permissions on the htdocs1 directory.

Davide

--
She got her looks from her father. He's a plastic surgeon.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)

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