View Single Post
  #14  
Old 2nd January 2008, 23:41
garymaurizi garymaurizi is offline
Junior Member
 
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default help!

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.

Last edited by garymaurizi; 3rd January 2008 at 00:08.
Reply With Quote