Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

invalid URL's routing

$
0
0

Hi,

In my application when i am writing something after extension (.aspx) page say htttp://xyz.com/A.aspx/23433 it's not taking me to the custom error page.

When i dig it more and see the request calls going through HTTPBasicWatch i see there are no 404 calls, all there are 200 (Ok) calls.

I tried the same over a fresh application too. But the same results, hitting default.aspx or default.aspx/asdfasd results into the same page.

Requirement: Requirement is to take the user to the custom error page, i can use URL Rewrite rules and remove the rest of the invalid URL part but don't want to go for that. Please suggest if i can do anything over the config or something that i can do over the application level.


Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>