Options SymLinksIfOwnerMatch
    AllowOverride None
    
        # Apache 2.4
        
            Require all granted
        
    
    
        # Apache 2.2
        Order allow,deny
        Allow from all
    
    SetEnv ICINGAWEB_CONFIGDIR "{configDir}"
    EnableSendfile Off
    
        RewriteEngine on
        RewriteBase {urlPath}/
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
    
    
        DirectoryIndex error_norewrite.html
        ErrorDocument 404 /error_norewrite.html
    
EOD;
    }
}