wamp目录索引图片不显示

在wampserver安装目录下  \bin\apache\Apache2.2.21\conf\extra\httpd-autoindex.conf

Alias /icons/ "c:/Apache24/icons/"

<Directory "c:/Apache24/icons">
Options Indexes MultiViews
AllowOverride None
Require all granted

将上面的路径该为自己当前安装的路径即可(我是在D盘)

Alias /icons/ "d:/wamp/bin/apache/apache2.4.9/icons/"

<Directory "d:/wamp/bin/apache/apache2.4.9/icons/">
Options Indexes MultiViews
AllowOverride None
Require all granted

重启apache即可

上一篇:oracle学习笔记(一) oracle 体系结构简单介绍以及创建表空间和用户


下一篇:IDL 建立影像金字塔