>> > 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)
It can be used only by cheap hosters that can't provide dedicated IP
address for all SSL setups. Additional IP address costs 3-10 USD/year.
Signed SSL certificate for webserver costs 20 USD. You save 30 bucks a
year minus your reputation, if you have provider's domain prefix in your
SSL setup. You save only if you evaluate your "online presence" reputation
less than 30 USD.
> with the regular Squirrelmail distribution?
SquirrelMail needs only fix for php_self() function. Fix is similar to
$config_location_base override introduced in 1.4.8. And plugins should
stop using own hacks to detect base url and location.
Tweaks performed after
sqgetGlobalVar('HTTP_X_FORWARDED_SERVER',$proxy,SQ_SERVER) checks can be
done in vlogin plugin.
--
Tomas
-------------------------------------------------------------------------
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: [email protected]
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