Author: jacky2007 | Posted on: 5/21/2009 11:48:39 PM | Views : 245

hello

I have to use Url Rewriting in my web application.
I have refered to the MSDN topics and achieved this functionality.

What it does is :

My rule for URL Rewriting in web.config :

<rule>
    <url>/urlrewriter/(.*)/CD</url>
    <rewrite>/urlrewriter/show.aspx?CD=$1</rewrite>
</rule>

the above rule means : When i type - http://localhost/urlrewriter/102145/CD
browser should request for this page - http://localhost/urlrewriter/show.aspx?CD=102145
This is working perfectly.

Now my problem is

I have a flash file - sample.swf. It take 1 parameter as querystring. So what i am trying to do is :

i change my rule to :

<rule>
    <url>/urlrewriter/(.*)/CD</url>
    <rewrite>/urlrewriter/sample.swf?CD=$1</rewrite>
</rule ...

Go to the complete details ...