I need you help in configuring multiple websites in apache.
Following is the entry I am making in httpd-vhosts.conf file :
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@test.com
DocumentRoot /htdocs/test
ServerName test.com
</VirtualHost>
Apache starts perfectly. But when I type the address it shows a page as Access denied.
But when I make the path of DocumentRoot as /htdocs it shows the default page.
I want that I should be able to access the index page in /htdocs/test and not /htdocs
Can somebody help me?
Thanks
Gaurav