Skip to content

Commit f3d383e

Browse files
committed
Changed apache_ispconfig.conf.master template to allow access to phpmyadmin and squirrelmail in debian.
1 parent 6697ebb commit f3d383e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

install/tpl/apache_ispconfig.conf.master

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,22 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
1313
Deny from all
1414
</Directory>
1515

16+
# Do not allow access to the root file system of the server for security reasons
17+
<Directory />
18+
AllowOverride None
19+
Order Deny,Allow
20+
Deny from all
21+
</Directory>
22+
23+
# Except of the following directories that contain website scripts
24+
<Directory /usr/share/phpmyadmin>
25+
Order allow,deny
26+
Allow from all
27+
</Directory>
28+
29+
<Directory /usr/share/squirrelmail>
30+
Order allow,deny
31+
Allow from all
32+
</Directory>
33+
1634

0 commit comments

Comments
 (0)