Webmail URL changing

pixGT

Verified User
Joined
Feb 3, 2020
Messages
149
Hi
I'm getting this error


One-Click login requires does not support webmail_link=webmail. Try webmail_link=roundcube

A couple of weeks back I changed the webmail URL as follows.

domainname.com/roundcube to domainname.com/webmail But now I want to switch back to domainname.com/roundcube Now I can't remember how I changed that. Please assist me to solve this.

Thanks
 
Last edited:
I think the quick fix is to just remove it from the config file and then restart DirectAdmin
 
Check the aliases in /etc/httpd/conf/extra/httpd-alias.conf
 
Last edited:
Check the aliases in /etc/httpd/conf/extra/httpd-alias.conf

Alias /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge
Alias /config /var/www/html/redirect.php
Alias /roundcube /var/www/html/roundcube
Alias /phpMyAdmin /var/www/html/phpMyAdmin
Alias /phpmyadmin /var/www/html/phpMyAdmin
Alias /pma /var/www/html/phpMyAdmin
Alias /rainloop /var/www/html/rainloop


I can see this. Do I need to change anything?
 
No... you don't need to change alias files manually anymore.

Normally if you remove the webmail line from directadmin and restart directadmin, you only have to do:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
and that should do the trick, http://www.domain.com/roundcube should be visible like that again.

Edit directadmin.conf via SSH. Like with nano:
nano directadmin.conf
 
No... you don't need to change alias files manually anymore.

Normally if you remove the webmail line from directadmin and restart directadmin, you only have to do:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
and that should do the trick, http://www.domain.com/roundcube should be visible like that again.

Edit directadmin.conf via SSH. Like with nano:
nano directadmin.conf

No still have the same issue.

1616941223428.png
 
Code:
/usr/local/directadmin/directadmin set webmail_link roundcube
service directadmin restart
May have to change directadmin command based on OS
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Code:
/usr/local/directadmin/directadmin set webmail_link roundcube
service directadmin restart
May have to change directadmin command based on OS
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs

This part works. Now the problem has been solved. Thank you so much for your help.
 
Back
Top