locked
Rewrite URLs without .aspx RRS feed

All replies

  • User1109032460 posted
    No. But you can change IIS so that it maps all requests for a URL through to ASP.NET in the IIS MMC snap-in for that site. IIS isn't forwarding the request through because it doesn't have an extension that is mapped to ASP.NET.
    Sunday, July 3, 2005 1:01 AM
  • User235007323 posted
    Thanks DMW!
    Wednesday, July 6, 2005 10:27 AM
  • User1689754975 posted
    No. But you can change IIS so that it maps all requests for a URL through to ASP.NET in the IIS MMC snap-in for that site. IIS isn't forwarding the request through because it doesn't have an extension that is mapped to ASP.NET.


    I have a similar problem, but my server is in a shared hosting environment, meaning no access to IIS console, and no way to install ISAPI filters. Any ideas?
    Wednesday, July 6, 2005 10:40 PM
  • User-182265138 posted
    hi,

    if you cant set the ISAPI filters, just put you page name same as you iis default documnet, for example , index.aspx.

    then it would be the same if you type :

    http://www.mydomian.com/arshak/index.aspx or http://www.mydomian.com/arshak/

    Regards,

    Arshak
    Saturday, July 9, 2005 7:03 AM
  • User1022473388 posted
    numbernine,

    Do you mind posting some code on your URL re-writing?

    That's the the kind of re-writing I'm looking into doing.

    thanks
    slaction

    Monday, July 11, 2005 2:37 PM
  • User235007323 posted
    slaction,

    I posted my code and the article I was using in this thread.
      I was never able to get it to work, though, because when I'd add the wildcard mapping, suddenly the default documents in other parts of the site would stop working.  It was suggested instead to handle it through a custom 404, which is probably what I'll wind up doing.  If you have any insight after working with it, please post.

    Monday, July 11, 2005 4:51 PM
  • User-182265138 posted
    hi,

    Read this article, its about url rewriting. and it really helps.


    http://dotnetbips.com/A2531B92-0710-46CD-80AB-CCE506D3A582.aspx?articleid=267


    Regards,
    Ariya
    Tuesday, July 12, 2005 1:41 AM
  • User1847508480 posted
    Hi Ariya,

    Forgive my ignorance, but where would you set the default document if you don't have access to IIS?

    GP

    Tuesday, August 2, 2005 6:53 AM