guys i am trying to host a site on my own home server but when i make virtual host in httpd.conf like following

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName [url]www.mydomain.com[/url]
    DocumentRoot c:/wamp/www
 </VirtualHost>

it gives me the following error

Forbidden
You don't have permission to access / on this server.

what should i do to remove this page and add my own index page...!!

Recommended Answers

All 2 Replies

this type of error occur mostly when you try viewing an index page that does not exist so why don't try typing "/index.htm" or "/index.html" at the end of your url and see the kind of error it returns? then you can know where to attack.shalom shalom

look for the error log of that request on the server and post it here, it helps to diagnose the problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.