After installing Wamp, the localhost access error "you don t has permission to access/on the this server."

Source: Internet
Author: User
Tags phpmyadmin

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."

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.