Hi Swetha,
URL rewriting is very tricky and it may take lot of time to tweak them
using. What are the problems you are getting when you use the below
rewriting rules?
Also, note that URL you see in browser address bar is same as you click
on. You cant change that unless you use JavaScript or some redirection.
Thanks,
Raj
On 03/06/10 15:52, swetha wrote:
Hi Raj,
Greetings of the day.
I am using apache for url rewrting. Here i am giving my
requirement. Plz help me out.
There is one search button, If we click on dat button the url must
be www.pets.com/search.html
for this i wrote code as follows:
RewriteRule ^/search.html$
ajp://localhost:8080/ecart/control/keywordsearch [P,L]
ProxyHTMLURLMap ^(.*)/ecart/control/keywordsearch;(.*)$
$1/search.html [R]
##---- without session id
ProxyHTMLURLMap ^(.*)/ecart/control/keywordsearch$ $1/search.html [R]
and when we write something in search box and send request like suppose if
we write bag in search box and click on button the url must display as
www.pets.com/search.html?keword=bag
here keywords(ie bag) have to change according to our request
Plz help me. this is very needful for me.