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