首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Trac svn centos问题

Trac svn centos问题
EN

Server Fault用户
提问于 2010-11-15 07:02:41
回答 1查看 364关注 0票数 0

请按照教程中的说明安装Trac/SVN

http://www.sohailriaz.com/how-to-install-subversion-with-trac-on-centos-5-x/

SVN在

代码语言:javascript
复制
/svn/

Trac ur:

代码语言:javascript
复制
/trac/

Trac没有,它所通过的错误是

代码语言:javascript
复制
   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文件是

代码语言:javascript
复制
###
### 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错误日志

代码语言:javascript
复制
[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
EN

回答 1

Server Fault用户

回答已采纳

发布于 2010-11-15 13:19:22

Trac不是用PHP编写的,所以index.php错误很奇怪。另外,错误日志不会在请求中显示trac。它似乎是从您的服务器根目录请求index.php。如果您请求http://servername/trac/,会发生什么?您的Apache conf显示它在那个位置。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/201877

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档