SSL only?

Martin Marques martin at bugs.unl.edu.ar
Thu Apr 6 13:36:21 CEST 2006


On Thu, 6 Apr 2006 04:08:37 +0100, Alan Briolat <alan at dotphp.org> 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']);
> }
> ----------------------

This is unnecesary. Just edit the apache configuration and redirect the http request to https.

-- 
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || 
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador, 
    del Litoral             |   Administrador
---------------------------------------------------------






More information about the Dev mailing list