Hello,
I tried to search the forum for an answer, but didn't find a proper solution.
I want to add an alias (/webmail) for my webmail (/roundcube).
I found a solution described at https://forum.directadmin.com/showthread.php?t=35233 :
Add Alias /webmail "/var/www/html/webmail/" in the file /etc/httpd/conf/extra/httpd-alias.conf
This works just fine until custombuild is executed (./build rewrite_confs), then the alias is gone.
In another doc (https://help.directadmin.com/item.php?id=351) I noticed the claim '/etc/httpd/conf/extra/httpd-includes.conf will not be touched by CustomBuild or DirectAdmin.', but I've tried it and after executing ./build rewrite_confs the file httpd-includes.conf is empty again.
Does anyone know the proper way to do this?
Additionally I would like to force https also because now /roundcube (webmail) can be accessed via http as well as https (both are working correctly, but I would like to redirect http to https for additional security). I guess this should be done the same way (in the proper file) as adding the alias?
I tried to search the forum for an answer, but didn't find a proper solution.
I want to add an alias (/webmail) for my webmail (/roundcube).
I found a solution described at https://forum.directadmin.com/showthread.php?t=35233 :
Add Alias /webmail "/var/www/html/webmail/" in the file /etc/httpd/conf/extra/httpd-alias.conf
This works just fine until custombuild is executed (./build rewrite_confs), then the alias is gone.
In another doc (https://help.directadmin.com/item.php?id=351) I noticed the claim '/etc/httpd/conf/extra/httpd-includes.conf will not be touched by CustomBuild or DirectAdmin.', but I've tried it and after executing ./build rewrite_confs the file httpd-includes.conf is empty again.
Does anyone know the proper way to do this?
Additionally I would like to force https also because now /roundcube (webmail) can be accessed via http as well as https (both are working correctly, but I would like to redirect http to https for additional security). I guess this should be done the same way (in the proper file) as adding the alias?