由 quizas 在 12-08-2002 13:14 发表:
apache 能否建这样的虚拟路径
httpd.conf文件这样设置
Alias /films/ "/films/"
1<directory "="" films="">
2
3Options Indexes FollowSymlinks MultiViews
4
5AllowOverride None
6
7Order allow,deny
8
9Allow from all
10
11</directory>
在/films/下建文件 aaa.zip
浏览器里键入
http://localhost/films/aaa.zip回车显示
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster
Error 404
10.16.136.150
Sun 08 Dec 2002 01:20:06 PM CST
Apache/2.0.40 (Red Hat Linux)
请问我哪里设置错了?
由 solaris 在 12-08-2002 19:58 发表:
好象写法有错误,除了alias后面跟的别名需要/films/,其他代表路径的(引号里的)都要写