Apache location块不管用 ,请指教,谢谢
apache 设置
QUOTE:
Alias /trac/chrome/common /usr/local/share/trac/htdocs
<Directory "/usr/local/share/trac">
Order allow,deny
Allow from all
</Directory>
ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.cgi
<Location "/trac">
SetEnv TRAC_ENV "/home/document/trac_project"
</Location>
<Location "/trac/login">
AuthType Basic
AuthName "trac"
AuthUserFile /home/httpd_auth/trac.pw
Require valid-user
</Location>
重启apache后,客户端却无法访问http://mydomain/trac,提示“not fonund”。
apache日志中,看到/trac网络空间,并没有转到/usr/local/share/trac/cgi-bin/trac.cgi
QUOTE:
[Wed May 16 10:54:52 2007] [error] [client 59.50.212.95] File does not exist: /usr/local/www/data/trac
[Wed May 16 10:55:01 2007] [error] [client 60.209.19.74] File does not exist: /usr/local/www/data/trac
[Wed May 16 10:55:03 2007] [error] [client 60.209.19.74] File does not exist: /usr/local/www/data/trac
[Wed May 16 11:02:34 2007] [error] [client 60.209.19.74] File does not exist: /usr/local/www/data/trac
谢谢