Skip to content

Commit e9a25c9

Browse files
committed
Changed: Add rules to deny direct access to the wrapper scripts directories.
1 parent 8b74ee1 commit e9a25c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

install/tpl/apache_ispconfig.vhost.master

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,15 @@ NameVirtualHost *:{vhost_port}
4141

4242
</VirtualHost>
4343

44+
<Directory /var/www/php-cgi-scripts>
45+
AllowOverride None
46+
Order Deny,Allow
47+
Deny from all
48+
</Directory>
49+
50+
<Directory /var/www/php-fcgi-scripts>
51+
AllowOverride None
52+
Order Deny,Allow
53+
Deny from all
54+
</Directory>
4455

0 commit comments

Comments
 (0)