Today installed a wamp, tested in the local, found that using http://localhost/error 403, the prompt content is as follows: "You do not have the permission to access/on the this server." With 127.0.0.1 access to normal, phpMyAdmin is the same problem.
Search on the Internet a lot of this is the problem, but not in detail is not found a solution. Here to make a record, I was installed all the way to the next so the installation directory is the default.
First modify Apache, under Wampserver left button, Apache under a httpd.conf, or C:\wamp\bin\apache\Apache2.2.21\conf directory under the httpd, Remember that in the Conf directory is httpd is not httpd.conf, this is easy to get the wrong place.
233-234 lines make a change
# onlineoffline Tag-don ' t remove
Order Deny,al
Deny from all
Allow from 127.0.0.1
Modified into
# onlineoffline Tag-don ' t remove
Order Deny,al
Allow from all
Remember to save Oh,
The following pictures are more convenient:
650) this.width=650; "style=" width:600px;height:238px; "src=" http://s3.51cto.com/wyfs02/M02/58/D4/ Wkiom1s9z33zmxzbaahz6rz2avq176.jpg "title=" Untitled -1.jpg "alt=" wkiom1s9z33zmxzbaahz6rz2avq176.jpg "border=" 0 "height=" 238 "hspace=" 0 "vspace=" 0 "width="/> "
Here is the modified phpMyAdmin, under C:\wamp\alias, open phpmyadmin Below a section
<directory "C:/WAMP/APPS/PHPMYADMIN3.4.10.1/" >
Options Indexes followsymlinks MultiViews
AllowOverride All
Order Deny,allow
Deny from all
Allow from 127.0.0.1
Change into
<directory "C:/WAMP/APPS/PHPMYADMIN3.4.10.1/" >
Options Indexes followsymlinks MultiViews
AllowOverride All
Order Deny,allow
Allow from all
Save it, restart it.
This article is from the "Wu-Dick" blog, please be sure to keep this source http://9827789.blog.51cto.com/9817789/1606068
After installing Wamp, the localhost access error "you don t has permission to access/on the this server."