Apache 这项要求要求「/&引用;“关于主机”;example.com“;,但未配置可满足此请求的站点

Apache 这项要求要求「/&引用;“关于主机”;example.com“;,但未配置可满足此请求的站点,apache,server,phabricator,Apache,Server,Phabricator,我正在使用Apache/2.4.7来托管服务器。我正在主持这个节目。 假设ip是x.x.x.x,指向ip的域名是example.com 以下是报告的内容 /etc/apache2/sites enabled/000-default.conf 我犯了什么错误?我如何继续解决它 多谢各位 PS:我使用以下指南配置Phabricator: PPS:另外,我非常确定example.com正确地指向了x.x.x.x,因为使用以下conf文件,当我在地址栏中输入example.com时,我会看到apach

我正在使用Apache/2.4.7来托管服务器。我正在主持这个节目。 假设ip是x.x.x.x,指向ip的域名是example.com

以下是报告的内容

/etc/apache2/sites enabled/000-default.conf

我犯了什么错误?我如何继续解决它

多谢各位

PS:我使用以下指南配置Phabricator:

PPS:另外,我非常确定example.com正确地指向了x.x.x.x,因为使用以下conf文件,当我在地址栏中输入example.com时,我会看到apache默认页面:

<VirtualHost *:80>
         ServerName http://x.x.x.x
         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]

        <Directory /home/ubuntu/phabricator/phabricator/webroot>
                Options Indexes FollowSymLinks Includes ExecCGI
                AllowOverride None
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
         ServerName example.com
         DocumentRoot /var/www/html/

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

服务器名http://x.x.x.x
DocumentRoot/home/ubuntu/phabricator/phabricator/webroot
重新启动发动机
重写规则^/rsrc/(.*)-[L,QSA]
重写规则^/favicon.ico-[L,QSA]
重写规则^(.*)$/index.php?\uuuu路径\uuuuu=$1[B,L,QSA]
选项索引如下SYMLINKS包括ExecCGI
不允许超限
要求所有授权
ErrorLog${APACHE_LOG_DIR}/error.LOG
CustomLog${APACHE\u LOG\u DIR}/access.LOG组合
ServerName example.com
DocumentRoot/var/www/html/
ErrorLog${APACHE_LOG_DIR}/error.LOG
CustomLog${APACHE\u LOG\u DIR}/access.LOG组合
此链接:提示您可能需要设置
config
参数
phabricator.base uri
。尝试:

 ./bin/config set phabricator.base-uri 'http://example.com/'
<VirtualHost *:80>
         ServerName http://x.x.x.x
         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]

        <Directory /home/ubuntu/phabricator/phabricator/webroot>
                Options Indexes FollowSymLinks Includes ExecCGI
                AllowOverride None
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
         ServerName example.com
         DocumentRoot /var/www/html/

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
 ./bin/config set phabricator.base-uri 'http://example.com/'