wamp2.2-64位 localhost和localhost/phpmyadmin不能访问问题解决
1、在httpd.conf配置文件中找到
<Directory "d:/wamp/www/">
??? #
??? # Possible values for the Options directive are "None", "All",
??? # or any combination of:
??? #?? Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
??? #
??? # Note that "MultiViews" must be named *explicitly* --- "Options All"
??? # doesn't give it to you.
??? #
??? # The Options directive is both complicated and important.? Please see
??? # http://httpd.apache.org/docs/2.2/mod/core.html#options
??? # for more information.
??? #
??? Options Indexes FollowSymLinks
??? #
??? # AllowOverride controls what directives may be placed in .htaccess files.
??? # It can be "All", "None", or any combination of the keywords:
??? #?? Options FileInfo AuthConfig Limit
??? #
??? AllowOverride all
??? #
??? # Controls who can get stuff from this server.
??? #
#?? onlineoffline tag - don't remove
??? Order Deny,Allow
??? Deny from all
??? Allow from 127.0.0.1
</Directory>
將紅色字體改成 Allow from 127.0.0.1 ::1? 或者? 改成 Allow from all?
2、再打開wamp/alias/phpmyadmin.conf
<Directory "d:/wamp/apps/phpmyadmin3.5.1/">
??? Options Indexes FollowSymLinks MultiViews
??? AllowOverride all
??????? Order Deny,Allow
?? ?Deny from all
?? ?Allow from 127.0.0.1
</Directory>
將紅色字體改成Allow from 127.0.0.1 ::1? 或者? 改成 Allow from all?
?
?
解釋:
Deny?from?all 是禁止所有訪問,但是允許 127.0.0.1?訪問
?
修改為?Allow?from?all? 允許所有訪問
?
轉(zhuǎn)載于:https://www.cnblogs.com/tsunlight/p/localhost%e4%b8%8d%e8%83%bd%e8%ae%bf%e9%97%ae.html
總結(jié)
以上是生活随笔為你收集整理的wamp2.2-64位 localhost和localhost/phpmyadmin不能访问问题解决的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java -- 注解 annotatio
- 下一篇: GIS数据格式整理之Coverage篇