403 Forbidden ???
Posted by: jesus.cake (---.hsd1.ca.comcast.net)
Date: February 29, 2008 01:39AM

I have installed WAMP5 2 but I keep getting a 403 forbidden error when i try and access my local domain. Here is the virtual host entry I have in my httpd.conf file:

<VirtualHost *:80>
ServerAlias domain.com www.domain.com
DocumentRoot "c:/projects/project1"
<Directory "c:/projects/project1">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>

Notice the "Allow from all" directive.

I also have the following in my local host file:

127.0.0.1 domain.com

I've restarted all wamp services and my computer several times to no avail.

Also, I've setup WAMP5 1.7 on my laptop with win xp with no problems. Now I'm trying to install on a win vista box.

Any help is appreciated - thanks,
Ben

Options: ReplyQuote
Re: 403 Forbidden ???
Posted by: yfastud (Moderator)
Date: February 29, 2008 01:48AM

Check Setup Virtual Host guide on my personal website

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden ???
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 05:45AM

You are missing ServerName after <virtualhost ...>

Options: ReplyQuote
Re: 403 Forbidden ???
Posted by: godislife (---.jvece702.e.brasiltelecom.net.br)
Date: March 01, 2008 04:36PM

<VirtualHost *:81>
ServerAlias domain.com www.domain.com
DocumentRoot "c:/projects/project1"
<Directory "c:/projects/project1">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>

Options: ReplyQuote


Sorry, only registered users may post in this forum.