我试图在我的服务器上安装Phabricator。我按照这里的文档:https://secure.phabricator.com/book/phabricator/article/installation_guide/
在步骤:
现在,导航到您设置的子域。你应该看到 说明继续设置。
我收到错误" 500" :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
这是日志:
[Sun Apr 13 23:40:43 2014] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Sun Apr 13 23:40:43 2014] [debug] core.c(3112): [client 127.0.0.1] r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /php5-fcgi/
[Sun Apr 13 23:40:43 2014] [debug] core.c(3118): [client 127.0.0.1] redirected from r->uri = /
这是vhost配置:
<VirtualHost *:8080>
ServerAdmin cont....fr
ServerName p....fr
ServerAlias proj....fr
DocumentRoot /home/tea(....)icator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/(....)ricator/webroot>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error-project.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
这是我的apache2 / conf.d / php5-fpm.conf:
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -appConnTimeout 10 -idle-timeout 250 -socket /tmp/php5-fpm.sock -pass-header Authorization
</IfModule>
有人能帮助我吗?
答案 0 :(得分:1)
感谢我的朋友,我很快找到了解决方案。 我只是补充道:
RewriteRule ^ / php5-fcgi - [L]
到我的vhost配置:
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^/php5-fcgi - [L]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
感谢。