File: //usr/local/apache/conf.d/vhosts/creativefocus.sa.conf
<VirtualHost 135.125.156.224:80>
ServerName creativefocus.sa
ServerAlias www.creativefocus.sa
ServerAdmin webmaster@creativefocus.sa
DocumentRoot /home/creative/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/creative/public_html/cgi-bin/
CustomLog /usr/local/apache/domlogs/creativefocus.sa.bytes bytes
CustomLog /usr/local/apache/domlogs/creativefocus.sa.log combined
ErrorLog /usr/local/apache/domlogs/creativefocus.sa.error.log
# Custom settings are loaded below this line (if any exist)
IncludeOptional "/usr/local/apache/conf/userdata/creative/creativefocus.sa/*.conf"
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
</IfModule>
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled creative
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup creative creative
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup creative creative
suPHP_ConfigPath /home/creative
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid creative creative
</IfModule>
<IfModule itk.c>
AssignUserID creative creative
</IfModule>
<Directory "/home/creative/public_html">
Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<IfModule proxy_fcgi_module>
<FilesMatch \.php$>
SetHandler "proxy:unix:/opt/alt/php-fpm74/usr/var/sockets/creative.sock|fcgi://localhost"
</FilesMatch>
</IfModule>
</VirtualHost>
<VirtualHost 135.125.156.224:80>
ServerName webmail.creativefocus.sa
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
ProxyPass / http://127.0.0.1:2095/
ProxyPassReverse / http://127.0.0.1:2095/
<Proxy *>
AllowOverride All
</Proxy>
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>
<VirtualHost 135.125.156.224:80>
ServerName mail.creativefocus.sa
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
ProxyPass / http://127.0.0.1:2095/
ProxyPassReverse / http://127.0.0.1:2095/
<Proxy *>
AllowOverride All
</Proxy>
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>
<VirtualHost 135.125.156.224:80>
ServerName cpanel.creativefocus.sa
<IfModule mod_proxy.c>
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
RewriteEngine on
RewriteRule ^/roundcube$ /roundcube/ [R]
ProxyPass /roundcube/ https://127.0.0.1:2031/roundcube/
ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/
RewriteRule ^/pma$ /pma/ [R]
ProxyPass /pma/ https://127.0.0.1:2031/pma/
ProxyPassReverse /pma https://127.0.0.1:2031/pma/
ProxyPass / https://127.0.0.1:2083/
ProxyPassReverse / https://127.0.0.1:2083/
<Proxy *>
AllowOverride All
</Proxy>
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>