目录是有的。我加上 Alias /test/ "d:/test" <Directory "d:/temp"> Options Indexes FollowSymLinks MultiViews IncludesNoExec AllowOverride None Order allow,deny Allow from all </Directory> 能够看到该文件夹的文件列表,但还是不能访问该文件夹的文件。提示:HTTP 404 - 未找到文件。但明明有这些文件。好天几这个问题我还没解决,我都要疯了。
怎么上面是d:/test 下面成了d:/temp
ie 地址栏中没写错吧!如http://localhost/test/a1.htm
是d:/test,刚才写错了。ie地址栏中也没有写错! help me!
产生只能列目录 ,不能浏览网页的原因,是 Alias /test/ "d:/test" 该行的test后少了个"/"; 改成以下即可 Alias /test/ "d:/test/" <Directory "d:/test"> Options Indexes FollowSymLinks MultiViews IncludesNoExec AllowOverride None Order allow,deny Allow from all </Directory>
改成Alias /test/ "d:/test/",还是不行,该文件夹的文件列表和文件都不能访问。 出错:The server encountered an internal error or misconfiguration and was unable to complete your request.
Alias /test/ "d:/test"
<Directory "d:/temp">
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AllowOverride None
Order allow,deny
Allow from all
</Directory>
能够看到该文件夹的文件列表,但还是不能访问该文件夹的文件。提示:HTTP 404 - 未找到文件。但明明有这些文件。好天几这个问题我还没解决,我都要疯了。
下面成了d:/temp
Alias /test/ "d:/test" 该行的test后少了个"/";
改成以下即可
Alias /test/ "d:/test/"
<Directory "d:/test">
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AllowOverride None
Order allow,deny
Allow from all
</Directory>
出错:The server encountered an internal error or misconfiguration and was unable to complete your request.
你的问题解决了吗?可以教教我吗?