You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2000/12/28 20:24:12 UTC

FW: mod_rewrite/7014: Apache do not seem to receive response of RewriteMap prg

Hmmm... for all Tony's hard work, this looks like an issue for the
1.3.15 release (if it's not in the user's imagination.)

Bill

-----Original Message-----
From: Freddy Frouin [mailto:freddy.frouin@fluxus.net] 
Sent: Thursday, December 28, 2000 4:37 AM
To: submit@bugz.apache.org
Subject: mod_rewrite/7014: Apache do not seem to receive response of
RewriteMap prg



>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec 28 02:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     freddy.frouin@fluxus.net
>Release:        1.3.14 patched with apache_1.3.14-fix.diff
>Organization:
apache
>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(<STDIN>) {
	  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:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]
 
 


Re: FW: mod_rewrite/7014: Apache do not seem to receive response of RewriteMap prg

Posted by Tony Finch <do...@dotat.at>.
"William A. Rowe, Jr." <wr...@rowe-clan.net> wrote:
>Hmmm... for all Tony's hard work, this looks like an issue for the
>1.3.15 release (if it's not in the user's imagination.)

PEBKAC.

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at
"Dead! And yet there he stands!"