Current File : //etc/zpanel/configs/apache/domains_hold/alfatehprojects.com.conf
# DOMAIN: alfatehprojects.com
<virtualhost *:80>
ServerName alfatehprojects.com
ServerAlias  www.alfatehprojects.com
ServerAdmin 2018obaba@gmail.com
DocumentRoot "/home/alfatehpr/public_html/"
php_admin_value open_basedir "/home/alfatehpr/public_html:/var/sentora/temp/:/tmp/"
ErrorLog "/var/sentora/logs/domains/alfatehpr/alfatehprojects.com-error.log" 
#CustomLog "/var/sentora/logs/domains/alfatehpr/alfatehprojects.com-access.log" combined
#CustomLog "/var/sentora/logs/domains/alfatehpr/alfatehprojects.com-bandwidth.log" common
Redirect /webmail http://alfatehprojects.com:2095
Redirect /webmail/ http://alfatehprojects.com:2095
Redirect /whm http://alfatehprojects.com:2086/?access=whm
Redirect /whm/ http://alfatehprojects.com:2086/?access=whm
Redirect /cpanel http://alfatehprojects.com:2082/?access=cpanel
Redirect /cpanel/ http://alfatehprojects.com:2082/?access=cpanel
SecRuleEngine On
SecRequestBodyAccess On
SecTmpSaveUploadedFiles On
###!!!<FilesMatch \.php$>
###!!!SetHandler fcgid-script
###!!!</FilesMatch>
<Directory "/home/alfatehpr/public_html/">
  Options -FollowSymLinks -Indexes +ExecCGI
  ###!!!AddHandler fcgid-script .php
  ###!!!FCGIWrapper /etc/sentora/configs/apache/fcgi-config/alfatehprojects.com .php
  AllowOverride All
    Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</virtualhost>
# END DOMAIN: alfatehprojects.com
################################################################