小编Dav*_*vid的帖子

Apache 配置文件 000-default.conf 不起作用

所以我试图更改我的 apache 的 DocumentRoot,但出于某种奇怪的原因,它似乎忽略了文件 /etc/apache2/sites-available/00-default.conf

这是文件的内容:

<VirtualHost *:80>
    # The ServerName directive sets the request scheme, hostname and port that
    # the server uses to identify itself. This is used when creating
    # redirection URLs. In the context of virtual hosts, the ServerName
    # specifies what hostname must appear in the request's Host: header to
    # match this virtual host. For the default virtual host (this file) this
    # value is not decisive as it is used as a last …
Run Code Online (Sandbox Code Playgroud)

server apache2

2
推荐指数
1
解决办法
5万
查看次数

标签 统计

apache2 ×1

server ×1