Hi everyone
This is my first post. I am new administrator of Directadmin server. This is real good software but i can't solve one problem with virtual host configuration.
I need to config server like below:
- I want to have roundcube (webmail client) configured in subdomain like https://poczta.maindomain.com (with ssl)
and when someone put in webbrowser adress http://poczta.maindomain.com he will be by default redirected to adress https://poczta.maindomain.com.
But I don't have Idea how to do it.
When I make changes in httpd customization (in Admin panel) likes this:
|*if SUB="poczta"|
|?DOCROOT=/var/www/html/roundcube|
|*endif|
then the DocumentRoot directive for subdmomain is:
DocumentRoot /var/www/html/roundcube/poczta
I don't need "poczta" on the end of the documentroot path.
How to resolve this problem? any idea?
Thanks for help
This is my first post. I am new administrator of Directadmin server. This is real good software but i can't solve one problem with virtual host configuration.
I need to config server like below:
- I want to have roundcube (webmail client) configured in subdomain like https://poczta.maindomain.com (with ssl)
and when someone put in webbrowser adress http://poczta.maindomain.com he will be by default redirected to adress https://poczta.maindomain.com.
But I don't have Idea how to do it.
When I make changes in httpd customization (in Admin panel) likes this:
|*if SUB="poczta"|
|?DOCROOT=/var/www/html/roundcube|
|*endif|
then the DocumentRoot directive for subdmomain is:
DocumentRoot /var/www/html/roundcube/poczta
I don't need "poczta" on the end of the documentroot path.
How to resolve this problem? any idea?
Thanks for help