Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting 404 - File or directory not found
Message
From
15/04/2019 04:52:08
John Baird
Coatesville, Pennsylvania, United States
 
 
To
14/04/2019 18:53:29
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01668068
Message ID:
01668077
Views:
46
>>After verification, the one that is not catchable is:
>>
>>HTTP Error 404.0 - Not Found
>>
>>As opposed to the regular 404 error that I can trap in the code, this is a 404.0 error which differs a little bit.
>>
>>I am still looking at the proper way to intercept those as well from the code.
>
>It will be returned as a text message:
>https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html
>
>Example:
>https://www.tutorialspoint.com/http/http_responses.htm
>
HTTP/1.1 200 OK
>Date: Mon, 27 Jul 2009 12:28:53 GMT
>Server: Apache/2.2.14 (Win32)
>Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT
>Content-Length: 88
>Content-Type: text/html
>Connection: Closed
>
>You can see the exact response using Telnet (download PuTTY if you don't have a telnet client):
>
C:\> telnet yourweburl.com 80
>
>Type "GET / HTTP/1.1" or whatever the url is producing the error, and press enter twice. Look at the top line of the header returned. That's what you'd need to parse if you can get the raw returned content, including that header.
>
>-----
>A possible fix?
>https://stackoverflow.com/questions/33972144/maprequesthandler-404-0-error-when-routing-html-from-aspx-in-iis-8-0

Or you can just use postman or fiddler …
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform