Skip to content

Commit eed1b49

Browse files
author
Till Brehm
committed
Improved ispconfig.vhost for apache so that the sethandler directive does not affect other software which is accessed trough aliases.
1 parent aaca203 commit eed1b49

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

install/tpl/apache_ispconfig.vhost.master

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
99
<VirtualHost _default_:<tmpl_var name="vhost_port">>
1010
ServerAdmin webmaster@localhost
1111

12-
<FilesMatch "\.ph(p3?|tml)$">
13-
SetHandler None
14-
</FilesMatch>
12+
<Directory /var/www/ispconfig/>
13+
<FilesMatch "\.ph(p3?|tml)$">
14+
SetHandler None
15+
</FilesMatch>
16+
</Directory>
17+
<Directory /usr/local/ispconfig/interface/web/>
18+
<FilesMatch "\.ph(p3?|tml)$">
19+
SetHandler None
20+
</FilesMatch>
21+
</Directory>
1522

1623
<IfModule mod_fcgid.c>
1724
DocumentRoot /var/www/ispconfig/

0 commit comments

Comments
 (0)