Received: (qmail 32000 invoked by uid 501); 28 Dec 2000 10:37:17 -0000 Message-Id: <20001228103717.31999.qmail@locus.apache.org> Date: 28 Dec 2000 10:37:17 -0000 From: Freddy Frouin Reply-To: freddy.frouin@fluxus.net To: submit@bugz.apache.org Subject: Apache do not seem to receive response of RewriteMap prg X-Send-Pr-Version: 3.110 >Number: 7014 >Category: mod_rewrite >Synopsis: Apache do not seem to receive response of RewriteMap prg >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Dec 28 02:40:00 PST 2000 >Closed-Date: Wed Jan 03 19:37:28 PST 2001 >Last-Modified: Wed Jan 03 19:37:28 PST 2001 >Originator: freddy.frouin@fluxus.net >Release: 1.3.14 patched with apache_1.3.14-fix.diff >Organization: >Environment: FreeBSD 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Tue Mar 7 16:14:49 CET 2000 /usr/src/sys/compile/GENERIC i386 >Description: httpd.conf (in a virtualHost): RewriteMap access prg:/path/to/my/script RewriteCond %{REQUEST_URI} ^/proxy RewriteRule ^/proxy/(.*)$ ${access:$1} my script: #!/path/to/perl $|=1; while() { print $_; } The rewrite log give me allways the following information: map lookup OK: map=access key=the/good/value/of/$1 -> val= val is allways NULL. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Wed Jan 3 19:37:27 PST 2001 State-Changed-Why: This problem occurs if mod_rewrite can't run your rewrite map program. Thanks for using apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]