Change path of roundcube

Hello,

1. Open /etc/httpd/conf/extra/httpd-alias.conf

2. change line

Code:
Alias /roundcube "/var/www/html/roundcube/"

to

Code:
Alias /mail "/var/www/html/roundcube/"

3. Restart apache
 
Hello,

1. Open /etc/httpd/conf/extra/httpd-alias.conf

2. change line

Code:
Alias /roundcube "/var/www/html/roundcube/"

to

Code:
Alias /mail "/var/www/html/roundcube/"

3. Restart apache

Alex, it works perfectly.
Thank you very much!
 
You're welcome. Note, you might need to protect the file from being overwritten (by custombuild script) with

Code:
chattr +i /etc/httpd/conf/extra/httpd-alias.conf
 
Hello,

1. Open /etc/httpd/conf/extra/httpd-alias.conf

2. change line

Code:
Alias /roundcube "/var/www/html/roundcube/"

to

Code:
Alias /mail "/var/www/html/roundcube/"

3. Restart apache

Can I disable the roundcube mail link with this method ? I mean the above work if we go to domain.com/mail and also domain.com/roundcube how to disable domain.com/roundcube ? One way that I do is to rename the folder of the roundcube but is it the best way or recommended way ?
 
it's ok.. that was easy. i'm so dumb.

i just put alias for roundcube and redirect to 404
 
Back
Top