I am trying to rewrite the URL
From ---> http://www.onnlist.com/punerealestate.jsp?section=realestate&file=pune
To -----> myserver/realestate/pune/punerealestate.html
my suggested .htaccess is --->
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([^/]+)/([^/]+)/punerealestate.html /punerealestate.jsp?section=$1&file=$2 [L]
I am putting .htaccess file on my server .. @ .. /webapps/ROOT directory
I am not sure if my htaccess file is wrong or my server does not support it or i am placing it at wrong place.
I am using - Tomcat 6.0 and Java development environment ..
anyone any idea???