views:

28

answers:

0

Hello all,

I just stucked with this problem. I am having 2 parameters in query string and i want to encode them using URL rewriting using RewriteRule and RewriteCond in rewrite.properties file.

I wrote following in rewrite.properties but its not working:

RewriteCond %{QUERY_STRING} ^param1=(.*)&param2=(.*)$
RewriteRule ^/abc/def?(.*)$ /abc/def?param1=encodingString&param2=encodingString

I am using JBoss 4.2.3 and having browser IE8.

Please help me on this

In advance Thanks

Regards, Mehul