This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

webmail access using webmail.mydomain.com
#22
RE: webmail access using webmail.mydomain.com
Code:
[# cat /etc/sentora/configs/apache/httpd-vhosts.conf
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 03:30 22nd Oct 2015 UTC
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################


################################################################
# Sentora generated VHOST configurations below.....
################################################################

# DOMAIN: domain.com
<virtualhost *:80>
ServerName domain.com
ServerAlias  www.domain.com
ServerAdmin xxx@yyy.com
DocumentRoot "/var/sentora/hostdata/radcom/public_html/domain_com"
php_admin_value open_basedir "/var/sentora/hostdata/radcom/public_html/radcom_vn:/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/domains/domain/domain.com-error.log"
CustomLog "/var/sentora/logs/domains/domain/domain.com-access.log" combined
CustomLog "/var/sentora/logs/domains/domain/domain.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/domain/public_html/domain_com">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Order Allow,Deny
 Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 500 /_errorpages/500.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>
# 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 mail.domain.com
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>

</virtualhost>
# END DOMAIN: domain.com
################################################################
(07-17-2015, 10:07 AM)sknd Wrote: Getting "Internal Server Error"

Please help.
Reply
Thanks given by:


Messages In This Thread
RE: webmail access using webmail.mydomain.com - by td2000 - 10-21-2015, 08:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
[split] Can Not Log Into PHPMyAdmin or Webmail after upgrading to PHP 7.1.24 ogika 2 4 ,487 09-14-2021, 06:25 AM
Last Post: sparkrack
SSH Access rsthomas 2 5 ,264 01-06-2021, 12:14 AM
Last Post: rsthomas
No access after reinstall brucecy92 1 3 ,751 10-10-2020, 01:50 PM
Last Post: Jettaman

Forum Jump:


Users browsing this thread: 10 Guest(s)