Skip to content

Commit b218ba4

Browse files
author
Marius Burkard
committed
- Fixed invalid apache config Fixes: #3850
1 parent 65dc1a1 commit b218ba4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

server/conf/apache_ispconfig.conf.master

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
77
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
88

9+
<IfModule mod_headers.c>
10+
<LocationMatch "/.well-known/acme-challenge/*">
11+
Header set Content-Type "text/plain"
12+
</LocationMatch>
13+
</IfModule>
14+
915
<Directory /var/www/clients>
1016
AllowOverride None
1117
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
@@ -14,13 +20,6 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
1420
Order Deny,Allow
1521
Deny from all
1622
</tmpl_if>
17-
18-
<IfModule mod_headers.c>
19-
<LocationMatch "/.well-known/acme-challenge/*">
20-
Header set Content-Type "text/plain"
21-
</LocationMatch>
22-
</IfModule>
23-
2423
</Directory>
2524

2625
# Do not allow access to the root file system of the server for security reasons

0 commit comments

Comments
 (0)