File: //etc/apache2/sites-available/gfstudiosalvador.com.br.conf
<VirtualHost *:80>
ServerName gfstudiosalvador.com.br
ServerAlias www.gfstudiosalvador.com.br
DocumentRoot /var/www/sites/29068/public_html
ErrorLog /var/www/sites/29068/log/gfstudiosalvador.com.br-ssl-error_log
CustomLog /var/www/sites/29068/log/gfstudiosalvador.com.br-ssl-access_log common
ScriptAlias /cgi-bin/ /var/www/sites/29068/cgi-bin/
ScriptAlias /fcgi-bin/ /var/www/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
alias /.well-known /var/www/ssl/.well-known
#REDIRECT
#ENDREDIRECT
#ADDEXTRA1
<IfModule mod_fcgid.c>
Alias /fcgi-bin/ /var/www/sites/cgi-bin/
<Location /fcgi-bin/>
SetHandler fcgid-script
Options +ExecCGI
</Location>
SuexecUserGroup "webmaster" "webmaster"
<Directory /var/www/sites/29068/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
AddHandler php-fcgi .php
Action php-fcgi /fcgi-bin/php-29068
FCGIWrapper /var/www/cgi-bin/php-29068 .php
#allow from all
#Require all granted
IncludeOptional /var/www/sites/gfstudiosalvador.com.br.ips
AllowOverride All
</Directory>
</IfModule>
<Directory /var/www/sites/29068/cgi-bin>
Options ExecCGI
Allow from all
Require all granted
</Directory>
include /etc/apache2/include.conf
#ADDEXTRA2
</VirtualHost>