Till Brehm
2016-07-24 b9a3ef486ebcde18a5ade37865ff8f397185d24f
commit | author | age
c9b9f2 1
T 2 ######################################################
3 # This virtual host contains the configuration
4 # for the ISPConfig apps vhost
5 ######################################################
6
8133de 7 {tmpl_var name='vhost_port_listen'} Listen {tmpl_var name='apps_vhost_port'}
MC 8 # NameVirtualHost *:{tmpl_var name='apps_vhost_port'}
c9b9f2 9
8133de 10 <VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}>
c9b9f2 11   ServerAdmin webmaster@localhost
8133de 12   {tmpl_var name='apps_vhost_servername'}
f7ec00 13
b23738 14   <FilesMatch "\.ph(p3?|tml)$">
TB 15     SetHandler None
16   </FilesMatch>
bae4a6 17   
TB 18   <IfModule mod_headers.c>
19     RequestHeader unset Proxy early
20   </IfModule>
f7ec00 21
PA 22   {tmpl_if name="enable_spdy" op="==" value="y"}
23   <IfModule spdy_module>
24     SpdyEnabled on
25   </IfModule>
26   {/tmpl_if}
27
896465 28   <IfModule mod_php5.c>
8133de 29     DocumentRoot {tmpl_var name='apps_vhost_dir'}
896465 30     AddType application/x-httpd-php .php
8133de 31     <Directory {tmpl_var name='apps_vhost_dir'}>
MC 32         Options FollowSymLinks
33         AllowOverride None
1da57c 34         <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
8133de 35         Require all granted
1da57c 36         <tmpl_else>
8133de 37         Order allow,deny
MC 38         Allow from all
1da57c 39         </tmpl_if>
896465 40     </Directory>
TB 41   </IfModule>
42   
c9b9f2 43   <IfModule mod_fcgid.c>
8133de 44     DocumentRoot {tmpl_var name='apps_vhost_dir'}
c9b9f2 45     SuexecUserGroup ispapps ispapps
8133de 46     <Directory {tmpl_var name='apps_vhost_dir'}>
5545f1 47         Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
8133de 48         AllowOverride AuthConfig Indexes Limit Options FileInfo
3bc1e1 49         <FilesMatch "\.php$">
MC 50             SetHandler fcgid-script
51         </FilesMatch>
8133de 52         FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php
1da57c 53         <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
8133de 54         Require all granted
1da57c 55         <tmpl_else>
8133de 56         Order allow,deny
MC 57         Allow from all
1da57c 58         </tmpl_if>
c9b9f2 59     </Directory>
T 60   </IfModule>
61
62 </VirtualHost>
63
64