More in this section

Forums / Bugs & Issues / IIS7 serves pages without extensions

IIS7 serves pages without extensions

2 posts, 0 answered
  1. Matt
    Matt avatar
    5 posts
    07 May 2009
    28 Sep 2009
    Link to this post
    IIS7 will serve pages from Sitefinity even if you do not include the extension in the URL. For example, is the page i have created. But it will also respond to (and also works with a trailing slash).

    The problem is I also have a directory of the name 'test', and would rather the default document display instead of Is there any way to have the default document take precedence?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    28 Sep 2009
    Link to this post
    Hello Matt,

    A possible solution could be creating HttpHandler, overriding ProcessRequest and skip the opening of the directory or loading the page. You can get the current request from HttpContext.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered