Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IIS6 and App Mappings

Posted on 2004-10-25
4
Medium Priority
?
542 Views
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 "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
-------------------
Extension
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?
OR
How do you get an asp.net application to handle all requests?
0
Comment
Question by:hinshelm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 8

Accepted Solution

by:
sigmacon earned 1000 total points
ID: 12398729
I just had the same problem, and there is a very fine solution for that:

http://www.isapirewrite.com/

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

0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

597 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