« Previous Next »

Thread: Rewriting The Header status code ?

Last post 09-30-2009 10:11 AM by WWWWeb. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-30-2009, 5:30 AM

    Rewriting The Header status code ?

    When i access a http.//....../images/   URL from browser i get following header


    HTTP/1.1 403 Forbidden
    Content-Length: 1635
    Content-Type: text/html
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    Date: Wed, 30 Sep 2009 07:55:44 GMT

     as the Images folder in hidden directory.

    Now i need to rewrite the status code in Header as 404 - not  found ( App scan standard says that issue a 404 command for hidden directory).

    Is there any way to rewrite this HTTPStatus code in IIS???

    Thanks-

    Abhi

     

     

  • 09-30-2009, 10:11 AM In reply to

    • WWWWeb
    • Top 100 Contributor
    • Joined on 04-30-2009, 5:42 AM
    • Posts 52

    Re: Rewriting The Header status code ?

    you can customise the 403 error page
Page 1 of 1 (2 items)
Microsoft Communities