【发布时间】:2018-03-18 05:27:07
【问题描述】:
我关注了 Phabricator Configuration Guide,在安装了所有依赖项后,我面临以下消息:
Request parameter '__path__' is not set. Your rewrite rules are not configured correctly.
当我尝试访问www.cleverbit.com.br/phabricator/webroot/时显示此消息
我按照文档建议的方式配置了一个 apache2.conf 文件:
<VirtualHost *>
# Change this to the domain which points to your host.
ServerName cleverbit.com.br
# Change this to the path where you put 'phabricator' when you checked it
# out from GitHub when following the Installation Guide.
#
# Make sure you include "/webroot" at the end!
DocumentRoot /var/www/html/phabricator/webroot
RewriteEngine on
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
</VirtualHost>
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory "/var/www/html/phabricator/webroot">
Require all granted
AllowOverride All
</Directory>
我的 apache 重写配置到底出了什么问题?
【问题讨论】:
-
您安装的操作系统是什么?
-
这是一个 Ubuntu 16.04
标签: php apache apache2 phabricator