wampserver 圖標(biāo)不顯示的解決辦法 重裝系統(tǒng)后,下載了個(gè)WampServer2.1e-x32.exe安裝,但是安裝后刪除了默認(rèn)index.php
發(fā)現(xiàn)前面的圖片不顯示,如下圖:
最后找的方法,記錄下來(lái)……
找到文件:
wampserver安裝目錄\bin\apache\Apache2.2.17\conf\extra\httpd-autoindex.conf
修改:
Alias /icons/ “C:/Dev/Projets/WampServer2-
64b/install_files_wampserver2/bin/apache/Apache2.2.17/icons/”
<Directory “C:/Dev/Projets/WampServer2-
64b/install_files_wampserver2/bin/apache/Apache2.2.17/icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
為:
Alias /icons/ “icons/”
<Directory “icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
保存,重啟搞定!
當(dāng)然,我是用的相當(dāng)路徑,你也可以改成絕對(duì)路徑!
|
|