所以我在Windows 7上运行Apache 2.2
我的DocumentRoot设置为
DocumentRoot "E:/www"
and this works fine
# This should be changed to whatever you set DocumentRoot to.
#
#<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs">
<Directory "E:/www">
</ Directory>
我希望将别名设置为映射到Z的NAS上的图像文件夹:
Alias /images "Z:/images/"
# <Directory "Z:/images">
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all
# </Directory>
服务器将从上面开始,但当我在浏览器中导航到Z:\ images \ index.html时
即localost / images / index.html
即获得404错误 找不到
在此服务器上找不到请求的网址/images/index.html。
任何建议我做错了