###################################################### # 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 RequestHeader unset Proxy early {tmpl_if name="enable_spdy" op="==" value="y"} SpdyEnabled on {/tmpl_if} DocumentRoot {tmpl_var name='apps_vhost_dir'} AddType application/x-httpd-php .php Options FollowSymLinks AllowOverride None Require all granted Order allow,deny Allow from all DocumentRoot {tmpl_var name='apps_vhost_dir'} AddType application/x-httpd-php .php Options FollowSymLinks AllowOverride None Require all granted Order allow,deny Allow from all DocumentRoot {tmpl_var name='apps_vhost_dir'} SuexecUserGroup ispapps ispapps Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo SetHandler fcgid-script FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php Require all granted Order allow,deny Allow from all {tmpl_if name="use_rspamd"} Order allow,deny Allow from all RewriteEngine On RewriteRule ^/rspamd$ /rspamd/ [R,L] RewriteRule ^/rspamd/(.*) http://127.0.0.1:11334/$1 [P] {/tmpl_if}