    ServerAdmin server-admin@%domain%
    DocumentRoot "%accountBasePath%/%account%/domains/%domain%/html/"
    ErrorLog "%accountBasePath%/%account%/domains/%domain%/logfiles/error.log"
    LogLevel warn
    CustomLog "%accountBasePath%/%account%/domains/%domain%/logfiles/access.log" common
    
    <IfModule mod_rewrite.c>
        RewriteLog "%accountBasePath%/%account%/domains/%domain%/logfiles/rewrite.log"
        RewriteLogLevel 0
    </IfModule>
    
    <IfModule mpm_itk_module>
        AssignUserId %account% %account%
    </IfModule>
    
    <IfModule mod_suexec.c>
        SuexecUserGroup %account% %account%
    </IfModule>

    <If "'%phpEnabled%' == 'true'">
        <IfModule mod_fcgid.c>
            AddHandler fcgid-script .php .php4 .php5 .phps
            Include /etc/apache2/CGIAuth/CGIAuth.conf

            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 8 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/" .php
            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 8 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/ -s" .phps
            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 5 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/" .php4
            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 5 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/" .php5
            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 7 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/" .php7
            FcgidWrapper "%accountBasePath%/%account%/domains/%domain%/configuration/php/php-starter -b 8 -i %accountBasePath%/%account%/domains/%domain%/configuration/php/" .php8
        </IfModule>
    </If>
    
    <If "'%perlEnabled%' == 'true'">
        AddHandler cgi-script .pl .cgi
    </If>
    
    Alias /apacheerrordocs/ "%accountBasePath%/%account%/domains/%domain%/configuration/errordocs/"
    <Directory "%accountBasePath%/%account%/domains/%domain%/configuration/errordocs/">
        AllowOverride None
        Options IncludesNoExec
        AddOutputFilter Includes html
        AddHandler type-map var
        Order allow,deny
        Allow from all
        LanguagePriority de en cs es fr it nl sv pt-br ro
        ForceLanguagePriority Prefer Fallback
    </Directory>
    
    <Directory "%accountBasePath%/%account%/domains/%domain%/html/">
        Options FollowSymLinks MultiViews SymLinksIfOwnerMatch
        <If "'%phpEnabled%' == 'true' || '%perlEnabled%' == 'true'">
            Options +ExecCGI
        </If>
        
        AllowOverride AuthConfig Indexes Limit FileInfo
        RLimitCPU 30 60
        RLimitMEM 134217728 171966464
        RLimitNPROC 5 10
        Order allow,deny
        Allow from all
        AcceptPathInfo On
    </Directory>