HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2018-06-12 df645103d905bd1c6f8a8f549c6c16b5efde9550
hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
@@ -24,27 +24,31 @@
#end
    <Directory />
      PassengerEnabled Off
        PassengerEnabled Off
        Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch
    </Directory>
    <Directory /home/doms/${dom.name}/>
      PassengerEnabled On
        PassengerEnabled On
        AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
    </Directory>
    <Location /cgi-bin/>
      PassengerEnabled Off
        PassengerEnabled Off
        SetHandler cgi-script
        Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
    </Location>
    <Location /fastcgi-bin/>
      PassengerEnabled Off
        PassengerEnabled Off
        SetHandler fcgid-script
        Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
    </Location>
#if( ${php5} )
    FcgidInitialEnv HTTP_PHP_BIN /usr/lib/cgi-bin/php5
#end
    RewriteEngine On
    RewriteOptions Inherit
@@ -75,7 +79,7 @@
<VirtualHost ${pac.curINetAddr.inetAddr}:443 ${pac.oldINetAddr.inetAddr}:443>
    ServerName ${dom.name}
    ServerAlias ${dom.serveraliases}
    ServerAdmin ${dom.user.name}@${dom.name}
    ServerAdmin webmaster@${dom.name}
    SuexecUserGroup ${dom.user.name} ${pac.name}
    
@@ -99,7 +103,7 @@
    <Directory />
        SSLRequireSSL On
   PassengerEnabled Off
        PassengerEnabled Off
        Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch
    </Directory>
@@ -115,11 +119,15 @@
    </Location>
    <Location /fastcgi-bin/>
   PassengerEnabled Off
        PassengerEnabled Off
        SetHandler fcgid-script
        Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
    </Location>
    
#if( ${php5} )
  FcgidInitialEnv HTTP_PHP_BIN /usr/lib/cgi-bin/php5
#end
    RewriteEngine On
    RewriteOptions Inherit