Forum Moderators: open
However, if a user enters a bad URL ending with ".asp", the server decides to change the URL on the Server.Transfer. This is very strange because from everything I read Server.Transfer is supposed to leave the URL, as it does if you try a bad URL on my site that doesn't end with ".asp".
Anyway, if a user types mywebsite.com/badpage.asp, the URL gets changes to mywebsite.com/404.asp?404;http://mywebsite.com/badpage.asp and the not found text appears as it should. But I don't want it to change the URL! Does anybody know what's going on? This is very strange as it only does this for ".asp" as far as I can tell.
1. Open the properties dialog for the website
2. Select the "Home directory" tab
3. Click "configuration"
4. Select ".asp"
5. Tick "Check that file exists"
6. "Ok" your way out of the dialogs
- Tony