Skip to content

Commit 5a6670b

Browse files
author
Marius Cramer
committed
- fixed vhost template. website settings were overriding handlers of apache config files, e. g. roundcube
1 parent e6fd351 commit 5a6670b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

server/conf/vhost.conf.master

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
</IfModule>
5858

5959
<Directory {tmpl_var name='web_document_root_www'}>
60+
# Clear PHP settings of this website
61+
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
62+
SetHandler None
63+
</FilesMatch>
6064
Options +FollowSymLinks
6165
AllowOverride <tmpl_var name='allow_override'>
6266
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
@@ -85,6 +89,10 @@
8589
</tmpl_if>
8690
</Directory>
8791
<Directory {tmpl_var name='web_document_root'}>
92+
# Clear PHP settings of this website
93+
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
94+
SetHandler None
95+
</FilesMatch>
8896
Options +FollowSymLinks
8997
AllowOverride <tmpl_var name='allow_override'>
9098
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
@@ -186,10 +194,6 @@
186194
SuexecUserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
187195
</IfModule>
188196
</tmpl_if>
189-
# Clear PHP settings of this website
190-
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
191-
SetHandler None
192-
</FilesMatch>
193197
<tmpl_if name='php' op='==' value='mod'>
194198
# mod_php enabled
195199
AddType application/x-httpd-php .php .php3 .php4 .php5

0 commit comments

Comments
 (0)