You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "CHEUNG Chi Wai, Chris" <ch...@hld.com> on 2002/12/03 08:40:45 UTC

[users@httpd] Virtual Host problem

I have a Apache 1.3 running on a Mandrake 
The default homepage is alright and working fine.

I add a Virtual host in the httpd.conf as below

<VirtualHost 172.22.72.102>
ServerAdmin test@kstar.com
ServerName phpadmin
User apache
ErrorLog virtualapachelog
ServerPath /
Group apache
VirtualDocumentRootIP /phpadmin
DocumentRoot /etc/httpd
</VirtualHost>

When I access the Homepage, the browser gave me the error below
Forbidden
You don't have permission to access / on this server.


----------------------------------------------------------------------------
----

Apache-AdvancedExtranetServer/1.3.26 Server at phpadmin Port 80

The error log in Apache show as below

[Mon Dec  2 12:01:17 2002] [error] [client 172.22.71.172] client denied by
server configuration: /phpadmin
[Mon Dec  2 12:11:35 2002] [error] [client 172.22.71.172] client denied by
server configuration: /phpadmin

What I have to do to correct this problem?
which permission should I gave to the directory?

Chris Cheung

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org