SSL Squirrelmail through Reverse Proxy (Pound)

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

 



Dear List,

Has anyone got a setup where you have a Pound front end reverse-proxy 
listening for HTTPS traffic, and redirecting via HTTP to a batch of 
backend web servers that squirrelmail is installed on?

I have this working nicely except that the links and redirects are all 
then written as "http" rather than "https". Is there any sane way I can 
get the system so that security is maintained?

I'm thinking this might be to do with the "get_location" function in 
squirrelmail - will I need to modify this somehow?

The trouble is user's can connect either via HTTP or HTTPS and I don't 
want just a blanket change of all links to HTTPS.

Perhaps I need to get Pound to insert an X-SSL-Request header which can 
tell get_location whether to prepend http:// or https://

But this all sounds quite ugly and I'd rather not change squirrelmail code.

Any ideas?

Thanks!
Daniel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: 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