我正在尝试在 AWS Web 实例上安装 Phabricator,但我无法配置 apache 以显示除 Apache2 Ubuntu 默认页面之外的任何内容。
我创造
<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>
在 /etc/apache2/sites-available
然后我跑
sudo a2dissite 000-default.conf
sudo a2ensite phabricator.conf
service apache2 reload
但是当我加载http://ec2-##-##-###-###.us-west-2.compute.amazonaws.com/
默认的 apache 配置页面时仍然显示。怎么没有禁用?