linux就该这么学pdf免费下载
找到httpd.conf
去掉#修改
LoadModule autoindex_module modules/mod_autoindex.so
然后开启
去掉#修改
LoadModule autoindex_module modules/mod_autoindex.so
然后开启
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
再配置vhost
再配置vhost
<VirtualHost *:91>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "D:\wwwroot\www_root"
ServerName 192.168.0.168
ServerAlias example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
<Directory "D:\wwwroot\www_root">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
转载请注明:谷谷点程序 » wamp3.0下不能访问目录的解决方法