how can apache with RewriteRule pass query params to perl script

I have the following in my httpd.conf:

NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerName 127.0.0.1
RewriteEngine on
RewriteLog logs/rewrite.log
RewriteLogLevel 9
RewriteMap issuesmap prg:/Users/dev/applications/perl-scripts/
firstapp.pl
RewriteRule ^/(issues)/show_bug.cgi/? http://osge.network.org/jira/browse/${issuesmap:1}/?
[R]
</VirtualHost>

In the PERL script, my $ENV['QUERY_STRING'] is always null. I am
trying to test this with the following URL:
http://localhost/issues/show_bug.cgi?id=30

I need that "id" query parameter passed into my perl script...please,
anyone know how to do this? QSA? What's the syntax, any help is
greatly aprpeciated.

/sqad
sqad [ Di, 04 Dezember 2007 00:03 ] [ ID #1884585 ]
Webserver » alt.apache.configuration » how can apache with RewriteRule pass query params to perl script

Vorheriges Thema: newbie: setup problem
Nächstes Thema: Configurazione Apache (modulo di autenticazione)