This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS-WebPanel GUI / Re: how to secure login ip
« on: February 10, 2017, 09:30:15 PM »
Edit
Apache virtual host template
add
Redirect permanent /roundcube http://%domain_name%:2095
Redirect permanent /webmail http://%domain_name%:20
EXP
# vhost_start %domain_name%
<VirtualHost %domain_ip%:%domain_port%>
ServerName %domain_name%
ServerAlias www.%domain_name%
ServerAdmin %admin_email%
DocumentRoot "%homedir%/%username%/public_html"
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/
Redirect permanent /roundcube http://%domain_name%:2095
Redirect permanent /webmail http://%domain_name%:2095
#
Apache virtual host template
add
Redirect permanent /roundcube http://%domain_name%:2095
Redirect permanent /webmail http://%domain_name%:20
EXP
# vhost_start %domain_name%
<VirtualHost %domain_ip%:%domain_port%>
ServerName %domain_name%
ServerAlias www.%domain_name%
ServerAdmin %admin_email%
DocumentRoot "%homedir%/%username%/public_html"
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/
Redirect permanent /roundcube http://%domain_name%:2095
Redirect permanent /webmail http://%domain_name%:2095
#
Pages: [1]