我正在使用Centos7、Apache和Laravel5.8。我使用apache制作了一个vHost,并放置了Laravel :目录是存在的并且是可持久的。这是vHost配置。
<VirtualHost segara.id:80>
ServerName segara.id
ServerAlias segara.id
DocumentRoot /var/www/html/live/segara/public
<Directory /var/www/html/live/segara/public>
DirectoryIndex index.html index.php
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
ErrorLog "| /usr/sbin/rotatelogs -l -n 5 /var/www/html/live/segara/storage/logs/http/http-errors.log 86400"
CustomLog "| /usr/sbin/rotatelogs -l -n 5 /var/www/html/live/segara/storage/logs/http/http-requests.log 86400" combined
</VirtualHost>
问题是:当我访问segara.id时,web显示为Apache Tesing 123。
我该怎么办?
谢谢
发布于 2022-02-12 05:46:54
如果您的服务器只提供一个web服务,我认为您可以尝试更改配置:
<VirtualHost segara.id:80>
将是:
<VirtualHost *:80>
然后再试一次
CMIIW
谢谢
https://stackoverflow.com/questions/71089267
复制相似问题