IIS URL Rewrite to a controller? -
i trying url rewriting in iis work way , new having bit of trouble.
i have simple mvc framework , want requests handled controller (obviously) if request comes in mydomain.net/users/profile/id/22/groupid/2 want hit /controller/users/profile/id/22/groupid/2 controller know handling user , profile action.
is possible?
do need separate rule each route (users, customers, orders etc)?
i had more complex solution using 404 page , including controller passing info ran problems since 404 stripped post variables. plus think url rewrite better solution, don't know how it.
Comments
Post a Comment