locked
Trying to create a url rewriting module RRS feed

  • Question

  • User-1732136300 posted
    Im trying to create a url re-writing module for my forums. The url should be something like .....co.uk/owner/group/forum/ but for some reason the httpmodule is not kicking in. I think it is because IIS is not mapping these requests to the asp.net handler. I dont want to have to add .aspx to the end of the url if I can avoid it. Is there some other way to get it to send the request to the asp.net handler so that my module is implimented?
    Sunday, February 27, 2005 1:56 PM

All replies

  • User-1514880523 posted
    Add a wildcard mapping in IIS to the ASP.NET runtime. In that case, all requests can be handled by your ASP.NET web application. This means your httpmodule can do its job.
    Sunday, February 27, 2005 4:28 PM
  • User-1732136300 posted
    Thanks, I hadn't thought of that. I'll have a word with my hosts and see if they will add the mapping for me.
    Monday, February 28, 2005 1:11 PM
  • User-1372641848 posted
    Wild card mapping is only available with IIS6
    Friday, March 4, 2005 10:05 AM
  • User-1732136300 posted
    Actually it is possible in IIS5 I managed to get it working fine on windows advanced server 2000.
    Friday, March 4, 2005 1:07 PM
  • User-1372641848 posted
    Actually it is possible in IIS5 I managed to get it working fine on windows advanced server 2000. Can you give details about how to do wild card extension mapping with IIS5?
    Friday, March 4, 2005 2:20 PM
  • User-1732136300 posted
    Open the IIS manager. Right-click the relevant site + click properties Select the Home Directory tab and from the Application Settings section at the bottom click Configuration On the App Mappings tab click Add. Select the relevant executable (aspnet_isapi for asp.net) In the extension box enter * Choose the verbs and other settings. Press OK.
    Friday, March 4, 2005 2:33 PM
  • User-1372641848 posted
    You are right! I misunderstood whole thing. thanks for correcting.
    Saturday, March 5, 2005 12:24 AM