Skip to content
apache_apps.vhost.master 1.16 KiB
Newer Older
wyrie's avatar
wyrie committed

######################################################
# This virtual host contains the configuration
# for the ISPConfig apps vhost
######################################################

{vhost_port_listen} Listen {apps_vhost_port}
# NameVirtualHost *:{apps_vhost_port}

<VirtualHost {apps_vhost_ip}:{apps_vhost_port}>
  ServerAdmin webmaster@localhost
  {apps_vhost_servername}
  
  <IfModule mod_fcgid.c>
    DocumentRoot {apps_vhost_dir}
    SuexecUserGroup ispapps ispapps
    <Directory {apps_vhost_dir}>
      Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
wyrie's avatar
wyrie committed
      AllowOverride AuthConfig Indexes Limit Options FileInfo
      <FilesMatch "\.ph(p[3-5]?|tml)$">
           SetHandler fcgid-script
      </FilesMatch>
      FCGIWrapper {website_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php
      Require all granted
wyrie's avatar
wyrie committed
    </Directory>
    DirectoryIndex index.php
  </IfModule>
  
  <IfModule mod_php5.c>
    DocumentRoot {apps_vhost_dir}
    AddType application/x-httpd-php .php
    <Directory {apps_vhost_dir}>
wyrie's avatar
wyrie committed
      AllowOverride None
      Require all granted
wyrie's avatar
wyrie committed
    </Directory>
  </IfModule>
  
  ServerSignature Off

</VirtualHost>