Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 尝试在ubuntu ec2实例上安装phabricator时,总是重定向到默认索引页_Apache_Ubuntu_Amazon Web Services_Phabricator - Fatal编程技术网

Apache 尝试在ubuntu ec2实例上安装phabricator时,总是重定向到默认索引页

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

我正试图在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>

但是当我加载
http://ec2-##-##-###-###.us-west-2.compute.amazonaws.com/
默认的apache配置页面仍会显示。为什么它没有被禁用?

您是否尝试过从启用的/站点中删除默认设置??
sudo a2dissite 000-default.conf
sudo a2ensite phabricator.conf
service apache2 reload