Apache2 vhost 显示 apache 手册

问题描述

我错过了什么?我有以下 vhost 设置,当站点工作时,我还可以输入 apache2 手册的 url。我如何关闭它? 我已经禁用了 000-default。

例如以下网址有效

https://example.net/manual/en/mod/mod_vhost_alias.html


<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName example.net
ServerAlias www.example.net
DocumentRoot /var/www/example.net/html

<Directory /var/www/example.net/html>
    Options -Indexes +FollowSymLinks
    AllowOverride All
</Directory>

ErrorLog ${APACHE_LOG_DIR}/example.net-error.log
CustomLog ${APACHE_LOG_DIR}/example.net-access.log combined

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.net/privkey.pem
</VirtualHost>
</IfModule>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)