Hmmm, that actually makes sense now i think about it. Well, I might do that
then, because of course the next CVS update will undo my little mod :)
On Thu, 06 Apr 2006 08:43:27 +0200
Thomas Bruederli <[EMAIL PROTECTED]> wrote:
> You should do this redirection with your webserver configuration. With
> Apache you can use the RewriteRules to achieve this. I don't thinks it's
> something that RoundCube needs to handle but more a task for the
> webserver environment.
>
> Regards,
> Thomas
>
>
> Alan Briolat wrote:
> > I just did a new install of RoundCube Mail, and definitely some huge
> > improvements since i tried it a few months ago...
> >
> > I was wondering if it was planned to have a SSL option in the config?
> > At the moment i want all my webmail stuff to go over SSL, so i just
> > added the following lines at the top of index.php:
> >
> > ----------------------
> > if (empty($_SERVER['HTTPS'])) {
> > header('Location:
> > https://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'?'.$_SERVER['QUERY_STRING']);
> > }
> > ----------------------
> >
> > I'm sure there is a much more convenient place to put this, but I think it
> > would
> > definitely be a good idea to at least have an option to make logins go over
> > SSL.
> >
> > --
> > Alan Briolat <[EMAIL PROTECTED]>
>
>
--
Alan Briolat <[EMAIL PROTECTED]> http://www.dotphp.org/
--
Haha, I just wasted 76 bytes of your bandwidth! How does that make you feel?