Hi,
I have built a test machine in our LAN environment. I am using https-2.2.3-6 on RHEL5 (2.6.18-8.el5). If I run the normal server without virtual hosts I can see the page over the LAN and on that box. But when i introduced a virtual host with the following code in httpd.conf it doesnt work and give me the error on the same box.
"403 Forbidden
You don't have permission to access / on this server"
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin
webmaster@dummy-host.example.com
DocumentRoot /home/http/test
ServerName test.mycompany.com
ErrorLog logs/test.mycompany.com-error_log
CustomLog logs/test.mycompany.com-access_log combined
</VirtualHost>
If I check the syntax it shows OK.
=============
# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server test.mycompany.com (/etc/httpd/conf/httpd.conf:1020)
port 80 namevhost test.mycompany.com (/etc/httpd/conf/httpd.conf:1020)
Syntax OK
=============
Can any body tell me what can be the problem??
waiting for reply.
Many thanks.