RESOLUTION
Problem Description: Sometimes when login to Horde Webmail from CCP you can receive the following errors:
This error could appear only in the case when Branded Access Point is configured for webmail.
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /horde/login.php.
Reason: Error reading from remote server
Apache/2.0.52 (Red Hat) FrontPage/5.0.2.2635 mod_ssl/2.0.52 OpenSSL/0.9.7a
Server at branded.provider.com Port 443
Resolution: Reconfigure branding config to redirect requests to http instead of https.
Open file /usr/local/pem/vhosts/<access_point_hd_id>/webspace/httpsdocs/[cp/].branding_htaccess for editing and replace https with http in strings related to Horde webmail:
RewriteRule ^horde/(.*)$ http://webmail.provider.com/horde/$1 [P,L]
RewriteRule ^webmail/<id>/(.*)$ http://webmail.provider.com/horde/imp/redirect.php [P,L] Additional changes are required for IMP 4.1.x:
Open /usr/local/pem/vhosts/webmail/horde/lib/Horde.php for editing and add following strings to sources:
--- Horde.php 2006-10-19 00:01:38.000000000 -0700
+++ Horde.php.orig 2006-10-19 03:49:17.000000000 -0700
@@ -545,7 +545,6 @@
if ($force_ssl) {
$full = true;
}
- $full = false;
if ($full) {
global $conf, $registry, $browser;
@@ -624,7 +623,6 @@
*/
function applicationUrl($uri, $full = false, $append_session = 0)
{
- $full = false;
if ($full) {
return Horde::url($uri, $full, $append_session);
}