RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
04-07-2016, 04:54 AM
(This post was last modified: 04-13-2016, 11:41 PM by Mazerunner04.
Edit Reason: typo and code fix
)
Hello,
so I've read the entire thread.. and tried the 2 versions of the vhost entries suggested here. But I still get the default page like henrique and imrane555 posted here aswell.
Any ideas how this is done in Ubuntu?
Edit2:
It ended up working with this, but I had to disable Suhosin and OpenBase.
so I've read the entire thread.. and tried the 2 versions of the vhost entries suggested here. But I still get the default page like henrique and imrane555 posted here aswell.
Any ideas how this is done in Ubuntu?
Edit2:
It ended up working with this, but I had to disable Suhosin and OpenBase.
Code:
# Configuration for WebMail
ServerName webmail.domain.xyz
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
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"
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/etc/apps/webmail/">
Options Indexes FollowSymLinks Includes ExecCGI
Require all granted
</Directory>