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.
#31
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
Hello, I've installed zpanel 10.1.1 and we put in httpd-vhost this:

(02-03-2015, 11:13 PM)Diablo925 Wrote: On Linux

Remember to add </VirtualHost> at the start

and no </VirtualHost> at the end Smile

Webmail:
Code:
</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> 
Phpmyadmin / Mysql
Code:
</VirtualHost>

# Configuration for PHPmyadmin   
<VirtualHost *:80>
 ServerAlias pma.*
 DocumentRoot "/etc/sentora/panel/etc/apps/phpmyadmin/"
 AddType application/x-httpd-php .php
 <Directory "/etc/sentora/panel/etc/apps/phpmyadmin/">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
 </Directory>

And I've any problem but when past the time, zpanel resets this file and removes this configuration. Do anyone know could I stop it?

Thanks
Emilio
Reply
Thanks given by:


Messages In This Thread
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - by emiliogq - 08-13-2015, 06:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 5 15 ,827 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: 8 Guest(s)