IIS6 and App Mappings

Posted on 2004-10-25
Last Modified: 2008-01-09
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 "" to "" for all URL's processed. I can get it working fine for "" 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 application to handle all requests?
Question by:hinshelm
    1 Comment
    LVL 8

    Accepted Solution

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video discusses moving either the default database or any database to a new volume.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now