Skip to content

Commit 3a74116

Browse files
committed
Fixed: FS#1620 - [Security] No Access in additional php.ini
1 parent 083b197 commit 3a74116

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

install/tpl/apache_ispconfig.conf.master

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
2020
Deny from all
2121
</Directory>
2222

23+
<Directory /var/www/conf>
24+
AllowOverride None
25+
Order Deny,Allow
26+
Deny from all
27+
</Directory>
28+
2329
# Except of the following directories that contain website scripts
2430
<Directory /usr/share/phpmyadmin>
2531
Order allow,deny

server/conf/apache_ispconfig.conf.master

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
1414

1515
# Do not allow access to the root file system of the server for security reasons
1616
<Directory />
17-
AllowOverride None
18-
Order Deny,Allow
19-
Deny from all
17+
AllowOverride None
18+
Order Deny,Allow
19+
Deny from all
20+
</Directory>
21+
22+
<Directory /var/www/conf>
23+
AllowOverride None
24+
Order Deny,Allow
25+
Deny from all
2026
</Directory>
2127

2228
# Except of the following directories that contain website scripts

0 commit comments

Comments
 (0)