IIS6 and App Mappings

I am trying to map ALL calls to the webserver to aspnet_isapi.dll.

What I am trying to do is URL Rewriting. I want to map "http://www.sitename.com/en-UK/Student" to "http://www.sitename.com/?Lang=en-UK&Ent=Student" for all URL's processed. I can get it working fine for "http://www.sitename.com/en-UK/Student/default.aspx" but not for a folder or structure that does not contain ".aspx"

IIS6 on windows 2003 pertains to allow you to use:

Excert from help
Type the file name extension associated with your application (or type the asterisk as a wildcard character).

But if you put * or *.* or .* into the Extention box you get the message "Wrong Extention format".

How do you map ALL requests through the ASP.NET ISAPI extension?
How do you get an asp.net application to handle all requests?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I just had the same problem, and there is a very fine solution for that:


Install the Lite version if you only have one site. In the global httpd.ini, put something like (or a modification thereof - the the forum on the vendor website is very helpful):

RewriteRule (.*)(\?[^/]*)?/([^/]*)/([^/]*)(.*) default.aspx(?2$2&:\?)$3=$4$5 [N,I]

That will translate all directory access to the default.aspx


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.