Configuring custom ASP 404 page with redirect for IIS7 website

前端 未结 3 2003
生来不讨喜
生来不讨喜 2020-12-07 04:08

We\'re migrating an existing website from IIS6 to IIS7, but are experiencing some difficulty in setting up the 404 error page. Our 404-errorpage works like this:

    <
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 05:11

    Alternatively you could look at using the IIS addon module: URLRewrite. This will allow you to set up custom SEO friendly URL's. You might find this something you want to look at to improve your application going forward rather than as a fix for your existing issue as may require some time to learn.

    There's some excellent articles, video tutorials and info on how to use this tool.

提交回复
热议问题