Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 17, 2010 08:24 PM by gunteman
Feb 17, 2010 06:34 PM|LINK
I have a website www.website.com that when entered like that it opens a deafult page.
I have the code
if (Request.PathInfo.Length != 0)
and then I load the page. the issue is when I type
www.websitet.com/xyz I get a 404 error. but if I type www/websitet.com/DocumentList.aspx/xyz it works fine.
How do you set up iis 7 in order so that instead of trying to go to the directory xyz it will go to my default page (documentlist.aspx) and look at the Pathinfo.
Feb 17, 2010 08:24 PM|LINK
Either you enter a wildcard mapping to a custom HttpHandler, or use something like