Skip to content

Commit 9fec0ce

Browse files
author
Thom
committed
Port apps vhost from install/ to server/ (#6321)
1 parent 6095f99 commit 9fec0ce

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

server/conf/apache_apps.vhost.master

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
<VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}>
1010
ServerAdmin webmaster@localhost
1111
{tmpl_var name='apps_vhost_servername'}
12-
13-
<FilesMatch "\.ph(p3?|tml)$">
14-
SetHandler None
15-
</FilesMatch>
12+
13+
<Directory {tmpl_var name='apps_vhost_dir'}>
14+
<FilesMatch "\.ph(p3?|tml)$">
15+
SetHandler None
16+
</FilesMatch>
17+
</Directory>
1618

1719
# SSL Configuration
1820
<tmpl_var name="ssl_comment">SSLEngine On
@@ -96,7 +98,7 @@
9698
DocumentRoot {tmpl_var name='apps_vhost_dir'}
9799
SuexecUserGroup ispapps ispapps
98100
<Directory {tmpl_var name='apps_vhost_dir'}>
99-
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
101+
Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
100102
AllowOverride AuthConfig Indexes Limit Options FileInfo
101103
<FilesMatch "\.php$">
102104
SetHandler fcgid-script
@@ -109,6 +111,8 @@
109111
Allow from all
110112
</tmpl_if>
111113
</Directory>
114+
IPCCommTimeout 7200
115+
MaxRequestLen 15728640
112116
</IfModule>
113117

114118
{tmpl_if name="use_rspamd"}

0 commit comments

Comments
 (0)