Wamp appears you don ' t has permission to access/on the This server prompt (go)

Source: Internet
Author: User
Tags php tutorial
Transfer from http://blog.csdn.net/hong0220/article/details/40262729, reprint convenient later view.

Today build WAMP integration environment, had already been set up, but in the visit to localhost when you do not have the permission to access/on the prompt of this server, I did not resolve, in view of HTTP/ blog.csdn.net/hong0220/article/details/40262729 after the change is successful. Here's how:

  

    • Locate httpd.conf, open httpd.conf with notepad, and then

    1. Options FollowSymLinks
    2. AllowOverride None
    3. Order Deny,allow
    4. Deny from all

Change this to:

    1. Options FollowSymLinks
    2. AllowOverride None
    3. Order Deny,allow
    4. Allow from all

There is one more place below

    1. # onlineoffline Tag-don ' t remove
    2. Order Deny,allow
    3. Deny from all
    4. Allow from 127.0.0.1

change the Deny from all to: Allow fromall, and then restart all services.

Now when you open localhost or 127.0.0.1, you find that you can access it, but when you visit phpMyAdmin, you see "You don't have a permission to access/phpmyadmin/on this server." The prompt.

    • Workaround, open the following file:

C:\WAMP\ALIAS\PHPMYADMIN.CONF//This is the contents of your Wamp installation directory, open with Notepad

Change to this:

    1. "C:/WAMP/APPS/PHPMYADMIN3.5.1/" >
    2. Options Indexes followsymlinks MultiViews
    3. AllowOverride All
    4. Order Deny,allow
    5. Allow from all
    6. Allow from 127.0.0.1

Change save, restart Wamp, finish the work!

  

The above describes the Wamp appear you do not have the permission to access/on the This server prompt (go), including the aspects of the content, want to be interested in PHP tutorial friends helpful.

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