Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B696F9840 for ; Sat, 17 Mar 2012 23:45:46 +0000 (UTC) Received: (qmail 25758 invoked by uid 500); 17 Mar 2012 23:45:46 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 25718 invoked by uid 500); 17 Mar 2012 23:45:46 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 25711 invoked by uid 99); 17 Mar 2012 23:45:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 23:45:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 23:45:44 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 9B3B03778; Sat, 17 Mar 2012 23:45:24 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 52935] New: ProxyPass SetEnvIf interpolation worked in 2.2 Date: Sat, 17 Mar 2012 23:45:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_proxy_http X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: petterb@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=52935 Bug #: 52935 Summary: ProxyPass SetEnvIf interpolation worked in 2.2 Product: Apache httpd-2 Version: 2.4.1 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_proxy_http AssignedTo: bugs@httpd.apache.org ReportedBy: petterb@gmail.com Classification: Unclassified Responds with '404 Not Found', Works in 2.2.22, same config. Works fine without env (ProxyPass / http;//duckduckgo.com/) $ cat /usr/local/apache2/conf/extra/httpd-vhosts.conf LogLevel proxy:trace8 # SetEnv duck duckduckgo.com SetEnvIf Request_URI ".*" duck=duckduckgo.com # RewriteEngine On # RewriteRule ^ - [E=duck:duckduckgo.com] ProxyRequests Off ProxyPassInterpolateEnv On ProxyPass / http://${duck}/ interpolate # ProxyPass / http://duckduckgo.com/ # Header set duck "%{duck}e on 2.4.1" $ sudo /usr/local/apache2/bin/apachectl -k start; tail -fn0 /usr/local/apache2/logs/error_log [Sun Mar 18 00:39:33.582614 2012] [core:warn] [pid 14233:tid 140214237484864] AH00111: Config variable ${duck} is not defined [Sun Mar 18 00:39:33.590089 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker proxy:reverse shared [Sun Mar 18 00:39:33.590134 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker proxy:reverse local [Sun Mar 18 00:39:33.590172 2012] [mpm_event:notice] [pid 14234:tid 140214237484864] AH00489: Apache/2.4.1 (Unix) configured -- resuming normal operations [Sun Mar 18 00:39:33.590189 2012] [mpm_event:info] [pid 14234:tid 140214237484864] AH00490: Server built: Mar 15 2012 14:52:12 [Sun Mar 18 00:39:33.590195 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14236 for (*) min=0 max=25 smax=25 [Sun Mar 18 00:39:33.590206 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker http://${duck}/ shared [Sun Mar 18 00:39:33.590220 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker http://${duck}/ local [Sun Mar 18 00:39:33.590221 2012] [core:notice] [pid 14234:tid 140214237484864] AH00094: Command line: '/usr/local/apache2/bin/httpd' [Sun Mar 18 00:39:33.590241 2012] [proxy:debug] [pid 14236:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14236 for (${duck}) min=0 max=25 smax=25 [Sun Mar 18 00:39:33.590236 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker proxy:reverse shared [Sun Mar 18 00:39:33.590266 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker proxy:reverse local [Sun Mar 18 00:39:33.590313 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14237 for (*) min=0 max=25 smax=25 [Sun Mar 18 00:39:33.590347 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker http://${duck}/ shared [Sun Mar 18 00:39:33.590366 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker http://${duck}/ local [Sun Mar 18 00:39:33.590379 2012] [proxy:debug] [pid 14237:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14237 for (${duck}) min=0 max=25 smax=25 [Sun Mar 18 00:39:33.590567 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker proxy:reverse shared [Sun Mar 18 00:39:33.590596 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker proxy:reverse local [Sun Mar 18 00:39:33.590640 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14238 for (*) min=0 max=25 smax=25 [Sun Mar 18 00:39:33.590651 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1640): AH00925: initializing worker http://${duck}/ shared [Sun Mar 18 00:39:33.590663 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1680): AH00927: initializing worker http://${duck}/ local [Sun Mar 18 00:39:33.590687 2012] [proxy:debug] [pid 14238:tid 140214237484864] proxy_util.c(1712): AH00930: initialized pool in child 14238 for (${duck}) min=0 max=25 smax=25 [Sun Mar 18 00:39:38.202264 2012] [core:info] [pid 14237:tid 140214135572224] [client ::1:60421] AH00128: File does not exist: proxy:http://duckduckgo.com/ $ /usr/local/apache2/bin/apachectl -V Server version: Apache/2.4.1 (Unix) Server built: Mar 15 2012 14:52:12 Server's Module Magic Number: 20120211:0 Server loaded: APR 1.4.5, APR-UTIL 1.4.1 Compiled using: APR 1.4.5, APR-UTIL 1.4.1 Architecture: 64-bit Server MPM: event threaded: yes (fixed thread count) 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 APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" $ cat config.nice #! /bin/sh # # Created by configure "./configure" \ "$@" -- 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