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
-
- Options FollowSymLinks
- AllowOverride None
- Order Deny,allow
- Deny from all
Change this to:
-
- Options FollowSymLinks
- AllowOverride None
- Order Deny,allow
- Allow from all
There is one more place below
- # onlineoffline Tag-don ' t remove
- Order Deny,allow
- Deny from all
- 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:
- "C:/WAMP/APPS/PHPMYADMIN3.5.1/" >
- Options Indexes followsymlinks MultiViews
- AllowOverride All
- Order Deny,allow
- Allow from all
- 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.