HTTP Handler for folder
-
Hi All, Can I write HTTP Handler for the folder which does not exist? for example if I write "http:/localhost/website/CompanyName" it should be redirected to the specific page.
Thanks, Shahzad Aslam
-
Hi All, Can I write HTTP Handler for the folder which does not exist? for example if I write "http:/localhost/website/CompanyName" it should be redirected to the specific page.
Thanks, Shahzad Aslam
Hi, Please go through this link first :) http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx[^]
-
Hi, Please go through this link first :) http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx[^]
Thanks, I did it using modifying custom errors in IIS and edit 404 error, provide absulute URL. http://www.nerdymusings.com/LPMArticle.asp?ID=12[^]
-
Thanks, I did it using modifying custom errors in IIS and edit 404 error, provide absulute URL. http://www.nerdymusings.com/LPMArticle.asp?ID=12[^]
Yes, that is the easiest way. And it will work if page not found. In your question you asked in different way, that you need to redirect if the url is like , so I thought you are looking for URL Rewrite :)