<VirtualHost *:#Port_Apache#>
    ServerAdmin webmaster@example.com
    DocumentRoot "#Server_Root#"
    ServerName #Server_Name#
    ServerAlias #Server_Alias#
    ErrorLog "#Log_Path#/#Server_Name#-error_log"
    CustomLog "#Log_Path#/#Server_Name#-access_log" combined

    #DENY FILES
     <Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
       Order allow,deny
       Deny from all
    </Files>

    #PHP
    <FilesMatch \.php$>
        <If "-f %{REQUEST_FILENAME}">
            SetHandler "proxy:fcgi://127.0.0.1:9000"
            ProxyFCGIBackendType GENERIC
            ProxyFCGISetEnvIf "reqenv('SCRIPT_FILENAME') =~ m#^/?(.*)$#" SCRIPT_FILENAME "$1"
        </If>
    </FilesMatch>

    #PATH
    <Directory "#Server_Root#">
        SetOutputFilter DEFLATE
        Options FollowSymLinks
        AllowOverride All
        Require all granted
        DirectoryIndex index.php index.html index.htm default.php default.html default.htm
    </Directory>
</VirtualHost>
