Apache 2.4 doesn't read configuration files

Kernels & Hardware, configuring network, installing services

Apache 2.4 doesn't read configuration files

Postby syscon » 2020-10-29 23:21

The apache 2.4 doesn't read configuration files.
In apache2.conf I have:
Code: Select all
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf


So it should read read every *config file in sites-enabled/
In that directory I have:
Code: Select all
ll sites-enabled/
total 4
lrwxrwxrwx 1 root root   35 Oct 27 21:15 000-default.conf -> ../sites-available/000-default.conf
-rw-r--r-- 1 root root 3420 Oct 29 18:03 vhosts.conf


vhosts.conf - define my web-site, but I commented everything out in that file and restarted apache:
/etc/init.d/apache2 restart

And I can still display my web page.
How is it possible???
syscon
 
Posts: 13
Joined: 2020-10-24 18:35

Return to System configuration

Who is online

Users browsing this forum: No registered users and 19 guests

fashionable