I am having a problem with url rewrting and form authentication. See I have the location defined in web.config to allow default.aspx

but I re-wrote my string from http://localhost/default.aspx?user=test to http://localhost/test

but the problem is, it redirects me to the login page with the re-written url.. how can resolve this?