SuexecUserGroup "#1003" "#1002"
ServerName portal.constructmediagroup.com
ServerAlias www.portal.constructmediagroup.com
ServerAlias mail.portal.constructmediagroup.com
ServerAlias webmail.portal.constructmediagroup.com
ServerAlias admin.portal.constructmediagroup.com
DocumentRoot /home/portal/public_html
ErrorLog /var/log/virtualmin/portal.constructmediagroup.com_error_log
CustomLog /var/log/virtualmin/portal.constructmediagroup.com_access_log combined
ScriptAlias /cgi-bin/ /home/portal/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php7.4
FCGIWrapper /home/portal/fcgi-bin/php7.4.fcgi .php
FCGIWrapper /home/portal/fcgi-bin/php7.4.fcgi .php7.4
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.portal.constructmediagroup.com
RewriteRule ^(?!/.well-known)(.*) https://portal.constructmediagroup.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.portal.constructmediagroup.com
RewriteRule ^(?!/.well-known)(.*) https://portal.constructmediagroup.com:10101/ [R]
RemoveHandler .php
RemoveHandler .php7.4
IPCCommTimeout 9999
FcgidMaxRequestLen 1073741824
RedirectMatch ^/(?!.well-known)(.*)$ https://portal.constructmediagroup.com/$1
SuexecUserGroup "#1003" "#1002"
ServerName portal.constructmediagroup.com
ServerAlias www.portal.constructmediagroup.com
ServerAlias mail.portal.constructmediagroup.com
ServerAlias webmail.portal.constructmediagroup.com
ServerAlias admin.portal.constructmediagroup.com
DocumentRoot /home/portal/public_html
ErrorLog /var/log/virtualmin/portal.constructmediagroup.com_error_log
CustomLog /var/log/virtualmin/portal.constructmediagroup.com_access_log combined
ScriptAlias /cgi-bin/ /home/portal/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php7.4
FCGIWrapper /home/portal/fcgi-bin/php7.4.fcgi .php
FCGIWrapper /home/portal/fcgi-bin/php7.4.fcgi .php7.4
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.portal.constructmediagroup.com
RewriteRule ^(?!/.well-known)(.*) https://portal.constructmediagroup.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.portal.constructmediagroup.com
RewriteRule ^(?!/.well-known)(.*) https://portal.constructmediagroup.com:10101/ [R]
RemoveHandler .php
RemoveHandler .php7.4
SSLEngine on
SSLCertificateFile /home/portal/ssl.cert
SSLCertificateKeyFile /home/portal/ssl.key
IPCCommTimeout 9999
FcgidMaxRequestLen 1073741824
SSLCACertificateFile /home/portal/ssl.ca