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.

Using Custom Vhost Entries for Webmail, MySQL, Etc.
#55
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
(03-10-2017, 05:02 AM)TGates Wrote: Updated to include open_basedir restrictions for better security.

if i use open_basedir on CentOS 7 it will not work -> http://forums.sentora.org/showthread.php...55#pid8755

(08-30-2017, 01:14 AM)rpuig Wrote: hello everyone !
i need some help with this.... i have added iin vhost

</VirtualHost>
  # Configuration for WebMail - webmail.yoursite.tld
  <VirtualHost *:80>
  ServerAlias webmail.mydomain.com
  ServerAdmin webmaster@mydomain.com
      DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
      ServerName webmail.mydomain.com
  AddType application/x-httpd-php .php3 .php
      <Directory />
      Options FollowSymLinks Indexes
      AllowOverride All
      Order Allow,Deny
      Allow from all
      </Directory>

but when i go to webmail.mydomain.com receive error saying :

403 FORBIDDEN
you dont have permission to access / on this server
Apache Server at webmail.mydomain.com Port 80

any suggestions?
thanks!!!

Don't know much about this but using ServerAlias and ServerName together?

Don't know what your apache version is but with a newer apache i had to change this:
Code:
Order Allow,Deny
Allow from all
to:
Code:
Require all granted

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:


Messages In This Thread
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - by Ron-e - 08-30-2017, 02:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 5 15 ,829 03-08-2018, 09:54 PM
Last Post: etienne7702
How to overwrite default admin. vhost? NIicK 1 7 ,034 03-27-2016, 01:16 AM
Last Post: Me.B
Roundcube Webmail https path pthalmann 0 4 ,891 12-29-2014, 09:09 AM
Last Post: pthalmann

Forum Jump:


Users browsing this thread: 14 Guest(s)