php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16831 Apache/PHP proxy error?
Submitted: 2002-04-25 16:43 UTC Modified: 2002-09-11 10:59 UTC
From: moyman at ecn dot purdue dot edu Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.2.0 OS: Solaris 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: moyman at ecn dot purdue dot edu
New email:
PHP Version: OS:

 

 [2002-04-25 16:43 UTC] moyman at ecn dot purdue dot edu
Apache 1.3.24 config file:

./configure --prefix=/opt/apache \
            --enable-module=userdir \
            --enable-module=rewrite \
            --enable-module=info \
            --activate-module=src/modules/php4/libphp4.a

and php 4.2.0:

./configure \
        --prefix=/opt/php \
        --with-openssl=/usr/local/ssl \
        --with-imap=/usr/src/local/imap-2001a \
        --with-gettext \
        --with-gettext=/opt/imp \
        --with-xml \
        --with-expat-dir=/opt/imp \
        --with-imap-ssl \
        --with-apache=../apache_1.3.23 \
        --with-mysql=/usr/local/mysql \
        --with-ldap=/opt/openldap \
        --with-db3=/opt/bdb \
        --enable-track-vars 

After updating with the above and restarting the apache server (for IMP 3.0). The server proxies requests for SSL (from httpd.conf):

    Alias /ECN/mailman/archives /usr/local/mailman/archives/public
    ScriptAlias /ECN/mailman/ "/usr/local/mailman/cgi-bin/"

RewriteEngine On
RewriteRule ^/ECN/webmail$ https://Engineering.Purdue.edu/ECN/webmail/horde/imp/
 [R]
RewriteRule ^/ECN/webmail/$ https://Engineering.Purdue.edu/ECN/webmail/horde/imp
/ [R]

RewriteRule ^/ECN/mailman$ https://Engineering.Purdue.edu/ECN/mailman/listinfo [
R]
RewriteRule ^/ECN/mailman/$ https://Engineering.Purdue.edu/ECN/mailman/listinfo
[R]

After updating to PHP 4.2.0 we started getting proxy errors for non-Solaris web browsers only:

> Proxy Error
>
> The proxy server received an invalid response from an upstream server.
>
> The proxy server could not handle the request GET /ECN/webmail/horde/imp/.
>
> Reason: Document contains no data

The httpsd server receiving the request was getting the following error:

The proxy server received an invalid response from an upstream server.

After reverting everything back to 4.1.2 it started working again. I probably don't have enough data for you to do anything about it but I thought I would submit something about it.
--mike


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 04:22 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2002-09-11 10:59 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 14:01:33 2024 UTC