Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how can apache with RewriteRule pass query params to perl ..

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  IIS 7 Web Site Issues  
Author Message
sqad

External


Since: Nov 15, 2007
Posts: 3



(Msg. 1) Posted: Mon Dec 03, 2007 3:03 pm
Post subject: how can apache with RewriteRule pass query params to perl script
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: how can apache with RewriteRule pass query params to perl .. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]