Apache 尝试在ubuntu ec2实例上安装phabricator时,总是重定向到默认索引页
我正试图在AWS web实例上安装Phabricator,但在配置apache以显示Apache2 Ubuntu默认页面之外的任何内容时遇到了问题 我创造Apache 尝试在ubuntu ec2实例上安装phabricator时,总是重定向到默认索引页,apache,ubuntu,amazon-web-services,phabricator,Apache,Ubuntu,Amazon Web Services,Phabricator,我正试图在AWS web实例上安装Phabricator,但在配置apache以显示Apache2 Ubuntu默认页面之外的任何内容时遇到了问题 我创造 <Directory "/home/ubuntu/phabricator/phabricator/webroot"> Require all granted </Directory> <VirtualHost *:8080> # Change this to the domain which po
<Directory "/home/ubuntu/phabricator/phabricator/webroot">
Require all granted
</Directory>
<VirtualHost *:8080>
# Change this to the domain which points to your host.
ServerName -##-##-###-###.us-west-2.compute.amazonaws.com
# 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 /home/ubuntu/phabricator/phabricator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
</VirtualHost>
但是当我加载
http://ec2-##-##-###-###.us-west-2.compute.amazonaws.com/
默认的apache配置页面仍会显示。为什么它没有被禁用?您是否尝试过从启用的/站点中删除默认设置??
sudo a2dissite 000-default.conf
sudo a2ensite phabricator.conf
service apache2 reload