我一直在拉我的头发,因此希望有人能够对此发表一些看法。 我一直在使用Apache和mod_fcgid在CentOS 6.3服务器上安装Trac 1.0。CentOS 6上的Trac和fcgi Apache - 错误
当我指出我的浏览器到是应该运行Trac的,我得到一个内部服务器错误(500)和这样的日志条目的虚拟主机:
(104)连接被对方复位:mod_fcgid:错误阅读从脚本头FastCGI的服务器 过早结束数据:trac.fcgi
我在/ var/TRAC /项目名称创建了trac的环境
然后我用TRAC管理员部署到部署在cgi-bin和htdocs目录的该项目到我的webroot的虚拟主机。 在vhost.conf我增加了以下内容:
ScriptAlias//home/httpd/vhosts/xxxx/sites/xxxx/cgi-bin/trac.fcgi/
DefaultInitEnv TRAC_ENV /var/trac/
ErrorLog "/var/log/httpd/xxxxx/error_log"
CustomLog "/var/log/httpd/xxxxx/access_log" common
LogLevel debug
<Directory "/home/httpd/vhosts/xxxxx/sites/xxxxx/htdocs">
Order allow,deny
Allow from all
</Directory>
<Directory "/home/httpd/vhosts/xxxxx/sites/xxxxx/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
注意我把XXXX隐匿一些域名信息。
有什么想法可能会出错?或者我怎么能更多地调试这些以获得更有用的日志信息?我已经将日志记录设置为在trac.ini中调试,但它不记录任何内容。
请不要添加签名 – user427969
签名?我不知道你的意思。 – Ruben
http://stackoverflow.com/faq#signatures – user427969