how could i do this if webmail is in /home/admispconfig/ispconfig/web/roundcubemail/
It is outside of the document root. Using Mod_Rewrite seems to break roundcube & it wont login? & mail.anydomain.tld is not working for me?
I used the ispconfig update function to install roundcube, and it defaults to
https://anydomain.tld:81/roundcubemail/index.php
I would like mail.anydomain.tld to use http on port 80 not https @ port 81, I've currently in user_rewrite.conf:
Quote:
RewriteEngine on
RewriteCond %{SERVER_NAME} ^mail.*.*$
RewriteRule .* /home/admispconfig/ispconfig/web/roundcubemail$0 [L]
RewriteCond %{SERVER_NAME} !^www\.
RewriteCond %{SERVER_NAME} !^www2\.
RewriteCond %{SERVER_NAME} !^mysql2\.
RewriteCond %{SERVER_NAME} ^([^.]*)\.(.*\..*)$
RewriteRule ^/(.*)$ /var/www/www.%2/user/%2_%1/web/$1 [L]
|
(user.anydomain.tld redirection does work fine).
I would like to be able to login @ both mail.anydomain.com &&
https://anydomain.tld:81/roundcubemail/index.php
perhaps there is a way to do something like this with user_rewrite.conf to forward 80 to 81@https for both security and client convienence also? Ive seen mod_rewrite and simmiliar forward port.