Re: https redirect issue and IIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/08, Zeta <zeta@xxxxxxxxx> wrote:
>
> hi there, i have a problem with squirrelmail redirecting to http after
> login instead of https.
> the scenario is:
>
> squirrelmail on linux machine on port 443 and IIS on port 80 both
> listening on same ip address.

Uh, that's "interesting"...

> so i configured IIS to redirect any call to squirrelmail on port 80 to
> port 443.
> so far so good, http://my.webmail redirects to
> https://my.webmail/src/login.php
> but when i log in, the login button redirects me on
> http://my.webmail/src/webmail.php.
> obviously, it cannot find the page, cause IIS in listening on port 80.
> any idea about how to make https login redirect to https correctly (ie.
> solving the problem the SM way)?

You can try to debug it, but the typical sure-fire way to fix it is to
set a value for $config_location_base in the configuration file.

> any idea about why IIS is not handling the further redirections
> correctly (ie. it should redirect webmail.php page to https too)?
>
> before i had this scenario, apache was handling the http/https
> redirection and everything was working correctly.
> my .htaccess is still in place:
>
> RewriteEngine on
> RewriteCond %{HTTPS} !=on
> RewriteRule .* https://%{HTTP_HOST}:443%{REQUEST_URI}
> [QSA,R=permanent,L]
>
> thanks indeed.
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux