HTTP Error Code 403 Forbiden
Posted by: cibsrk (---.hsd1.ca.comcast.net)
Date: April 27, 2012 02:13AM

Hi All,

Just finished installing WampServer on windows pro 7.

Then on the same PC using Dreamweaver trying to connect to my sql:

Connection name: MYSQL2

MySql Server: localhost
User Nmae: root
Password:

Database: mysql


Once I click on "Test" or "Select" button, I get the following Error:

HTTP Error Code 403 Forbiden




Note: after finish installing WampServer, I did not do any modification to the WampServer components.


Thanks for any help,



Eb

Options: ReplyQuote
Re: HTTP Error Code 403 Forbiden
Posted by: RiggsFolly (---.as13285.net)
Date: April 30, 2012 02:02PM

It sounds like you may be trying to access your server from another PC.

If this is the case, run wamp manager -> Put online

By default wamp configures apache to only allow access from ip address 127.0.0.1, when you Put Online it will allow access from THE WORLD.


------- Original state ------
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
So that the server can only be accessed from the machine it is running on.


---- after Put Online -------
When you put it online it changes this to
Order Allow, Deny
Allow from all


You may want to manually change that after wamp has made its change to something like
Allow from 192.168.1
or whatever your subnet is.

Options: ReplyQuote


Sorry, only registered users may post in this forum.