###################################################### # This virtual host contains the configuration # for the ISPConfig apps vhost ###################################################### {tmpl_var name='vhost_port_listen'} Listen {tmpl_var name='apps_vhost_port'} # NameVirtualHost *:{tmpl_var name='apps_vhost_port'} ServerAdmin webmaster@localhost {tmpl_var name='apps_vhost_servername'} SetHandler None DocumentRoot {tmpl_var name='apps_vhost_dir'} AddType application/x-httpd-php .php Options FollowSymLinks AllowOverride None {tmpl_if name='apache_version' op='>' value='2.2' format='version'} Require all granted {tmpl_else} Order allow,deny Allow from all {/tmpl_if} DocumentRoot {tmpl_var name='apps_vhost_dir'} SuexecUserGroup ispapps ispapps Options Indexes FollowSymLinks MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo AddHandler fcgid-script .php FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php {tmpl_if name='apache_version' op='>' value='2.2' format='version'} Require all granted {tmpl_else} Order allow,deny Allow from all {/tmpl_if}