trAvis - MANAGER
Edit File: dev.todocafe.pe.conf
<VirtualHost 198.199.72.26:8181> ServerName dev.todocafe.pe ServerAlias www.dev.todocafe.pe ServerAdmin webmaster@dev.todocafe.pe DocumentRoot /home/todocafe/dev.todocafe.pe UseCanonicalName Off ScriptAlias /cgi-bin/ /home/todocafe/dev.todocafe.pe/cgi-bin/ #CustomLog /usr/local/apache/domlogs/dev.todocafe.pe.bytes bytes #CustomLog /usr/local/apache/domlogs/dev.todocafe.pe.log combined ErrorLog /usr/local/apache/domlogs/dev.todocafe.pe.error.log # Custom settings are loaded below this line (if any exist) IncludeOptional "/usr/local/apache/conf/userdata/todocafe/dev.todocafe.pe/*.conf" <IfModule mod_setenvif.c> SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on </IfModule> <IfModule mod_userdir.c> UserDir disabled UserDir enabled todocafe </IfModule> <IfModule mod_suexec.c> SuexecUserGroup todocafe todocafe </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup todocafe todocafe suPHP_ConfigPath /home/todocafe </IfModule> <IfModule mod_ruid2.c> RMode config RUidGid todocafe todocafe </IfModule> <IfModule itk.c> AssignUserID todocafe todocafe </IfModule> <Directory "/home/todocafe/dev.todocafe.pe"> Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch </Directory> </VirtualHost> <VirtualHost 198.199.72.26:8181> ServerName webmail.dev.todocafe.pe <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 198.199.72.26:8181> ServerName mail.dev.todocafe.pe <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 198.199.72.26:8181> ServerName cpanel.dev.todocafe.pe <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>