RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
02-03-2015, 11:13 PM
(This post was last modified: 02-03-2015, 11:15 PM by Diablo925.)
On Linux
Remember to add </VirtualHost> at the start
and no </VirtualHost> at the end
Webmail:
Phpmyadmin / Mysql
Remember to add </VirtualHost> at the start
and no </VirtualHost> at the end
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>
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>