请按照教程中的说明安装Trac/SVN
http://www.sohailriaz.com/how-to-install-subversion-with-trac-on-centos-5-x/
SVN在
/svn/Trac ur:
/trac/Trac没有,它所通过的错误是
Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Trac.conf文件是
###
### Sample Trac configuration taken from http://trac.edgewall.org/wiki/TracModPython
###
### The recommended Trac web interface requires mod_python
<IfModule mod_python.c>
### Create your Trac environments as subdirectories of /var/trac
### They will appear in a listing on your website at /trac/, and be available
### at /trac/PROJECTNAME/
<Location /trac>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/www/trac
PythonOption TracUriRoot /trac
</Location>
### Use htpasswd to add Trac accounts to the AuthUserFile
<LocationMatch "/trac/[^/]+/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /var/www/trac/.htpasswd
Require valid-user
</LocationMatch>Apache错误日志
[Mon Nov 15 16:07:08 2010] [error] [client 10.10.0.14] script '/var/www/html/index.php' not found or unable to stat
[Mon Nov 15 16:07:08 2010] [error] [client 10.10.0.14] script '/var/www/html/index.php' not found or unable to stat
[Mon Nov 15 16:07:08 2010] [error] [client 10.10.0.14] script '/var/www/html/index.php' not found or unable to stat
[Mon Nov 15 16:07:08 2010] [error] [client 10.10.0.14] script '/var/www/html/index.php' not found or unable to stat发布于 2010-11-15 13:19:22
Trac不是用PHP编写的,所以index.php错误很奇怪。另外,错误日志不会在请求中显示trac。它似乎是从您的服务器根目录请求index.php。如果您请求http://servername/trac/,会发生什么?您的Apache conf显示它在那个位置。
https://serverfault.com/questions/201877
复制相似问题