Here is my actual URL
http://www.getinfotowin.com/virtual/PageRouteone?actionName=best_television_Series&service=T&id=50&customerId=81&KeyId=1&IsVisible=N&service=Nothing
Expected short URL
http://www.getinfotowin.com/best_television_Series/T/50/81/1/N/Nothing
My MOD_REWRITE logic is as given below
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$
virtual/PageRouteone?actionName=$1&service=$2&id=$3&customerId=$4&KeyId=$5&IsVisible=$6&service=$7 [NC,L] # Process product requests
Our apache communicates with Tomcat using AJP protocal. I have tried the above given logic but it's not working. In the actual URL "virtual" is my war file name and "PageRouteone" is my java servlet name.
I want to know whether or not my rewrite rule is correct. If not, what is it that's wrong?