Hey Mike.

In fact, the simplest method i've found to do this:

Put an "index.php" in your http://www.ec.org/webmail with the following:

<?
header("Location:
https://www.ec.org/webmail/src/login.php?secure_login=yes";);
?>

This will cause the user's browser to immediately jump to the specified
location.

HTH...

SUndie...

Mike Campbell said:
> I have successfully installed SM 1.4.2-1 on a fedora core 1 machine and
> have it working. Now I would like to setup SM so that all access is via
> https for security. I downloaded the secure-login plugin and installed
> it and now when I access SM it does so via https.
>
> Currently I need to access SM using http://www.ec.org/webmail and that
> redirects me to
> https://www.ec.org/webmail/src/login.php?secure_login=yes in secure mode.
>
> What I'd like to setup is an apache alias/virtualhost so that I can
> access http://webmail.ec.org and have it automatically take me to the SM
> login page in https mode.
>
> I have played around with the apache virtualhost parameter but have not
> yet gotten the right combination so perhaps someone here can help me.
>
> I have a single IP address on the machine and would like to be able to
> access the following:
>
> 1) http://www.ec.org ==> goes to main site page
> 2) http://ec.org ==> goes to main site page
> 3) http://webmail.ec.org ==> redirects to SM login in https mode
> 4) https://webmail.ec.org ==> SM login page in https mode
> 5) http://www.ec.org/webmail ==> SM login page in https mode
>
> Currently I have #1, 2, & 5 working. Right now SM access requires that I
> use the /webmail at the end of the URL and that is what I want to get
> around.
>
> Anyone with apache knowledge want to give me a hand to configure it so
> that I can get 3 & 4 working?
>
> Thanks,
> Mike Campbell
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to