remove duplicate apache configs. no need to track the various os directory variants for apache. added 2.4 syntax, but continue with 2.2 since compat handles it.

This commit is contained in:
matthew wall
2023-11-29 08:26:49 -05:00
parent 398d252b26
commit 49aacb2fbe
2 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +0,0 @@
Alias /weewx /home/weewx/public_html
<Directory /home/weewx/public_html>
Options FollowSymlinks
AllowOverride None
Require all granted
</Directory>

View File

@@ -2,6 +2,9 @@ Alias /weewx /home/weewx/public_html
<Directory /home/weewx/public_html>
Options FollowSymlinks
AllowOverride None
# This is apache 2.2 syntax
Order allow,deny
Allow from all
# This is apache 2.4 syntax
# Require all granted
</Directory>