Possible Duplicate:
Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask?
I am looking for a recipe for a mod_rewrite rule that will accomplish this:
MOD_REWRITE recipe: /agencyname TO /appname/login.jsp?a=agencyname
Possible Duplicate:
Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask?
I am looking for a recipe for a mod_rewrite rule that will accomplish this:
MOD_REWRITE recipe: /agencyname TO /appname/login.jsp?a=agencyname
RewriteEngine On
RewriteRule ^/(.*) /appname/login.jsp?a=$1
should be your solution.