https redirect issue and IIS

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

 



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.
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)?
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.

-- 
Ernesto Franchini <ernesto.franchini@xxxxxxxxxxx>
Linux System Administrator
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.antagonism.org/qmr-faq.shtml
http://www.thedjbway.org/

Prodigit SRL                                                   _
Via Mecenate 76/9 - 20138 Milano        ASCII ribbon campaign ( )
Tel. 02/509081 - Fax. 02/50908080        - against HTML email  X
www.prodigit.it                                      & vCards / \

"Madness, like small fish, runs in hosts, in vast numbers of instances."

- You may now sacrifice $PAGAN_OBJECT to $FAVOURITE_DIETY and reboot
                           into your newly installed Slackware on Raid -

-------------------------------------------------------------------------
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