how can apache with RewriteRule pass query params to perl script
am 04.12.2007 00:03:58 von sqadI have the following in my httpd.conf:
NameVirtualHost 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]
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