![]() |
|
webmail access using webmail.mydomain.com - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: webmail access using webmail.mydomain.com (/showthread.php?tid=1771) |
webmail access using webmail.mydomain.com - sknd - 07-17-2015 I need to access to webmail like this way. webmail.mydomain.com I have referred old post in this forum and configured vhost.conf. but always redirected to sentora login page not redirect to roundcude login. Please help me to setup it Many tnx RE: webmail access using webmail.mydomain.com - ic.rezende - 07-17-2015 (07-17-2015, 03:49 AM)sknd Wrote: I need to access to webmail like this way. 1 - Open Menu: Admin > Module Admin . 2 - In Administration Modules, open Apache Config . 3 - In Override a Virtual Host Setting, --Select a domain-- and click the button Select Vhost . 4 - In Virtual Host Override, edit the code like your config and paste in Custom Entry: Code: </VirtualHost>
# Configuration for WebMail
# This configuration enable webmail for all domains.
# If you want enable only a specific domain, change * to your domain name ind ServerAlias.
<VirtualHost *:80>
ServerAlias webmail.*
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/etc/apps/webmail/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory> 5 - Click Save Vhost . Enjoy and be Happy !!!
RE: webmail access using webmail.mydomain.com - sknd - 07-17-2015 Getting "Internal Server Error" RE: webmail access using webmail.mydomain.com - Ron-e - 07-17-2015 (07-17-2015, 10:07 AM)sknd Wrote: Getting "Internal Server Error" Please do not double post. Without any info about the error or what you have done we can not help you. One option is to give us your etc/sentora/configs/apache/httpd-vhosts.conf file, most likely the error is there. RE: webmail access using webmail.mydomain.com - sknd - 07-17-2015 (07-17-2015, 01:56 PM)Ron-e Wrote:(07-17-2015, 10:07 AM)sknd Wrote: Getting "Internal Server Error" I followed above ic.rezende's expatiation , </VirtualHost> # Configuration for WebMail <VirtualHost *:80> ServerAlias webmail.* DocumentRoot "/etc/sentora/panel/etc/apps/webmail/" AddType application/x-httpd-php .php <Directory "/etc/sentora/panel/etc/apps/webmail/"> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory> and in that file i can see my main domain entry <virtualhost *:80> ServerName mydomain.com ServerAlias www.mydomain.com ServerAdmin admin@mydomain.com DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mydomain_com" </virtualhost> Then when ivisit : webmail.mydomain.com .I can see Internal Server error RE: webmail access using webmail.mydomain.com - apinto - 07-17-2015 Try adding the full domain: </VirtualHost> # Configuration for WebMail <VirtualHost *:80> ServerAlias webmail.domain.tld DocumentRoot "/etc/sentora/panel/etc/apps/webmail/" AddType application/x-httpd-php .php <Directory "/etc/sentora/panel/etc/apps/webmail/"> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory> RE: webmail access using webmail.mydomain.com - apinto - 07-17-2015 Currently I have this for my webmail: Code: # DOMAIN: webmail.domain.tld
<virtualhost *:80>
ServerName webmail.domain.tld
ServerAlias webmail.domain.tld
ServerAdmin server@domain.tld
DocumentRoot "/etc/sentora/panel/etc/apps/webmail"
php_admin_value open_basedir "/etc/sentora/panel/etc/apps/webmail:/etc/sentora/configs/roundcube:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/base_services/webmail_domain.tld-error.log"
CustomLog "/var/sentora/logs/base_services/webmail_domain.tld-access.log" combined
CustomLog "/var/sentora/logs/base_services/webmail_domain.tld-bandwidth.log" common
<Directory "/etc/sentora/panel/etc/apps/webmail">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
</virtualhost>RE: webmail access using webmail.mydomain.com - Ron-e - 07-17-2015 (07-17-2015, 07:43 PM)sknd Wrote:(07-17-2015, 01:56 PM)Ron-e Wrote:(07-17-2015, 10:07 AM)sknd Wrote: Getting "Internal Server Error" Did yo end the webmail part with "</VirtualHost>", its not present in your text. RE: webmail access using webmail.mydomain.com - sknd - 07-17-2015 I have done Ron-e's and apinto's advices . Now i can see white blank page . No round cube login page
RE: webmail access using webmail.mydomain.com - apinto - 07-17-2015 If oyu are using zpanel, please change sentora to zpanel on our tips
|