1

AWS Web インスタンスに Phabricator をインストールしようとしていますが、Apache2 Ubuntu のデフォルト ページ以外を表示するように apache を設定するのに問題があります。

私は作成します

<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構成ページをロードすると、まだ表示されます。無効になっていないのはなぜですか?

4

0 に答える 0