Product:
Search Type:

Proxy Errors when login Horde webmail through CCP in the case of Branded GUI

Article ID: 1435 
Last Review: Oct,19 2006
APPLIES TO:
  • Parallels Automation (PEM)

RESOLUTION


Problem Description: Sometimes when login to Horde Webmail from CCP you can receive the following errors:

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
This error could appear only in the case when Branded Access Point is configured for webmail.

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);
}




Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields