File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,27 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
1212 Deny from all
1313</Directory>
1414
15+ # Do not allow access to the root file system of the server for security reasons
16+ <Directory />
17+ AllowOverride None
18+ Order Deny,Allow
19+ Deny from all
20+ </Directory>
21+
22+ # Except of the following directories that contain website scripts
23+ <Directory /usr/share/phpmyadmin>
24+ Order allow,deny
25+ Allow from all
26+ </Directory>
27+
28+ <Directory /usr/share/squirrelmail>
29+ Order allow,deny
30+ Allow from all
31+ </Directory>
32+
33+
1534<tmpl_loop name="ip_adresses">
1635NameVirtualHost {tmpl_var name="ip_address"}:80
1736NameVirtualHost {tmpl_var name="ip_address"}:443
1837</tmpl_loop>
38+
You can’t perform that action at this time.
0 commit comments