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> |
f7ec00
|
17 |
|
PA |
18 |
{tmpl_if name="enable_spdy" op="==" value="y"} |
|
19 |
<IfModule spdy_module> |
|
20 |
SpdyEnabled on |
|
21 |
</IfModule> |
|
22 |
{/tmpl_if} |
|
23 |
|
896465
|
24 |
<IfModule mod_php5.c> |
8133de
|
25 |
DocumentRoot {tmpl_var name='apps_vhost_dir'} |
896465
|
26 |
AddType application/x-httpd-php .php |
8133de
|
27 |
<Directory {tmpl_var name='apps_vhost_dir'}> |
MC |
28 |
Options FollowSymLinks |
|
29 |
AllowOverride None |
1da57c
|
30 |
<tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
8133de
|
31 |
Require all granted |
1da57c
|
32 |
<tmpl_else> |
8133de
|
33 |
Order allow,deny |
MC |
34 |
Allow from all |
1da57c
|
35 |
</tmpl_if> |
896465
|
36 |
</Directory> |
TB |
37 |
</IfModule> |
|
38 |
|
c9b9f2
|
39 |
<IfModule mod_fcgid.c> |
8133de
|
40 |
DocumentRoot {tmpl_var name='apps_vhost_dir'} |
c9b9f2
|
41 |
SuexecUserGroup ispapps ispapps |
8133de
|
42 |
<Directory {tmpl_var name='apps_vhost_dir'}> |
5545f1
|
43 |
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI |
8133de
|
44 |
AllowOverride AuthConfig Indexes Limit Options FileInfo |
3bc1e1
|
45 |
<FilesMatch "\.php$"> |
MC |
46 |
SetHandler fcgid-script |
|
47 |
</FilesMatch> |
8133de
|
48 |
FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php |
1da57c
|
49 |
<tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
8133de
|
50 |
Require all granted |
1da57c
|
51 |
<tmpl_else> |
8133de
|
52 |
Order allow,deny |
MC |
53 |
Allow from all |
1da57c
|
54 |
</tmpl_if> |
c9b9f2
|
55 |
</Directory> |
T |
56 |
</IfModule> |
|
57 |
|
|
58 |
</VirtualHost> |
|
59 |
|
|
60 |
|