>Number: 5005 >Category: mod_proxy >Synopsis: mod_proxy ignores headers_out set by other modules >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Sep 13 12:50:00 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3 >Environment: RedHat linux 6, egcs-2.91.66 >Description: Currently, mod_proxy ignores all headers set by other modules. For example if you are using mod_usertrack and mod_proxy at the same time, cookies set by mod_usertrack will be lost when request get to mod_proxy. >How-To-Repeat: here is part of CFG file:
# --- Proxy setup --- ProxyRequests off ProxyPass / http://deimos.us.matranet.com/ ProxyPassReverse / http://deimos.us.matranet.com/ ProxyDomain .us.matranet.com # --- User tracking ---- CookieTracking on CookieExpires "60 seconds" CookieName ApacheTracker CustomLog logs/clickstream "%{cookie}n %r %t" Notice that cookies not set. >Fix: I've put patch correcting this problem at: ftp://ftp.crocodile.org/pub/apache-patches/proxy.headers.patch I've tested and it works fine. Also it hadles err_headers_out and FTP proxying as well. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]