You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/03/10 23:38:45 UTC

DO NOT REPLY [Bug 50913] New: mod_proxy_fcgi does not honor ProxyErrorOverride directive

https://issues.apache.org/bugzilla/show_bug.cgi?id=50913

           Summary: mod_proxy_fcgi does not honor ProxyErrorOverride
                    directive
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mark@catseye.org
                CC: mark@catseye.org


mod_proxy_fcgi always uses the error pages of the backend server, even when
"ProxyErrorOverride on" is specified.

Configuration:

    <Location /test/>
        ProxyPass fcgi://127.0.0.1:9000/www/php-ssl/
        ProxyErrorOverride on
    </Location>

If the end user requests

http://server-name/test/this-does-not-exist

they should get an error page from httpd (either the default one, or the one
configured in an "ErrorDocument 404" directive).  Instead, the user gets the
error page generated by the backend server.


Additional information:

# /usr/sbin/httpd -V
Server version: Apache/2.3.12-dev (Unix)
Server built:   Mar 10 2011 16:36:16
Server's Module Magic Number: 20110203:2
Server loaded:  APR 1.4.2, APR-UTIL 1.3.10
Compiled using: APR 1.4.2, APR-UTIL 1.3.10
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

php-fpm from PHP 5.3.6-dev
Fedora 14 64-bit (fully patched)
gcc 4.5.1

httpd custom built from svn trunk with:

./configure --prefix=/etc/httpd --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --mandir=/usr/share/man --libdir=/usr/lib64
--sysconfdir=/etc/httpd/conf --includedir=/usr/include/httpd
--libexecdir=/usr/lib64/httpd/modules --datadir=/var/www
--with-installbuilddir=/usr/lib64/httpd/build --with-mpm=prefork
--with-apr=/usr --with-apr-util=/usr --enable-suexec --with-suexec
--with-suexec-caller=apache --with-suexec-docroot=/var/www
--with-suexec-logfile=/var/log/httpd/suexec.log
--with-suexec-bin=/usr/sbin/suexec --with-suexec-uidmin=500
--with-suexec-gidmin=100 --enable-pie --with-pcre --enable-mods-shared=all
--enable-ssl --with-ssl --enable-distcache --enable-proxy --enable-cache
--enable-disk-cache --enable-socache-dc --enable-ldap --enable-authnz-ldap
--enable-cgid --enable-authn-anon --enable-authn-alias --enable-session
--enable-session-cookie --enable-session-dbd --enable-lua --enable-dav-lock
--disable-imagemap

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50913] mod_proxy_fcgi does not honor ProxyErrorOverride directive

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50913

Jim Jagielski <ji...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jim Jagielski <ji...@apache.org> 2011-04-01 15:24:58 EDT ---
Will be in 2.3.12

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50913] mod_proxy_fcgi does not honor ProxyErrorOverride directive

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50913

Mark Montague <ma...@catseye.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50913] mod_proxy_fcgi does not honor ProxyErrorOverride directive

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50913

--- Comment #1 from Mark Montague <ma...@catseye.org> 2011-03-10 17:40:34 EST ---
Created an attachment (id=26762)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26762)
Add support for ProxyErrorOverride to mod_proxy_fcgi

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org