Re: general problems with squirrelmail behind ssl-proxy

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

 



Hi Tomas, hi list,

> > The mail is sent without problems, I can see it in the "sent" folder 
> > afterwards. But the error message is annoying. The error does not appear 
> > when connecting with http without the ssl-proxy. Can you help me
> > getting this last problem out of the way?
> 
> Small fix
> 
> Find lines with
> ----
> function get_location () {
>  
>     global $imap_server_type, $config_location_base;
> ----
>  
> and modify them to
> ----
> function get_location () {
>     global $imap_server_type, $config_location_base;
>     if (sqgetGlobalVar('HTTP_X_FORWARDED_SERVER',$proxy,SQ_SERVER) &&
>          $proxy == 'ssl-proxy.com') {
>          $config_location_base='https://ssl-proxy.com';
>     }
> ----
> 
> When I tested my changes, I've checked only code that used base url.
> Haven't
> checked code that uses get_location().

Alright, this works perfectly for me. Applying all your changes (also the ones from your previous answers) did the magic for me. Thanks a lot for your great support!

The only thing I'd still like to ask: Is there a chance to integrat support this kind of ssl-proxy setup with mod_rewrite (which is acutally very common at many web hosters) with the regular Squirrelmail distribution?

Thanks again,
Gregor

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  34,95 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
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