轉自http://blog.csdn.net/hong0220/article/details/40262729 ,轉載方便以后查看。
今天搭建wamp集成環境,本來已經搭建好了,但是在訪問localhost時出現了You don’t have permission to access/on this server的提示,自己沒有解決,在查看了http://blog.csdn.net/hong0220/article/details/40262729 之后修改成功。方法如下:
這里改成:
還有一處將下面
將Deny fromall改為:Allowfromall ,然后重新啟動所有服務。
現在打開localhost或127.0.0.1時發現可以訪問了,但訪問phpmyadmin時候,出現“You don't have permission to access /phpmyadmin/ on this server.”的提示。
C:/wamp/alias/phpmyadmin.conf //這個就是你的wamp的安裝目錄下的內容,用記事本打開
修改成這樣:
新聞熱點
疑難解答