Pass rewritten URL to script

Topics: User Forum
Jan 16, 2009 at 2:55 PM
I would like to pass the rewritten URL to any script, specifically ASP scripts. How would I do this?

For example:
# Translate /Category/SubCategory-PN=1...  ==>  /search.asp?category=Category/SubCategory&PageNo=1...
RewriteRule ^/(Category)(/.*)?-PN=(.*)    /search.asp?category=$1$2&PageNo=$3 [I]

How would I pass '/search.asp?category=Category/SubCategory&PageNo=1' to my scripts from IIRF?