httphandler Hell

CryoEnix

Well-known member
Joined
Jan 11, 2003
Messages
93
Location
Wrexham, Wales
Hey guys, quick question - this ones been bugging me for some time, and google hasnt been my friend on it.

Ive set up a httphandler in my web.config to transfer a url. For example, typing the following into the address bar:

http://mysite.com/Articles/Default.aspx

will transfer the user to:

http://mysite.com/content.aspx?type=articles

However, the user must explicitly type:

http://mysite.com/Articles/Default.aspx

Is it possible to account for this so that the user can miss off the filename, and it will default to default.aspx?

Cheers in advance!
 
I dont know alot about httphandlers, but it sounds like a programming logic error, if you post the code that youd like to work differently we could try to help alter it.
 
Last edited by a moderator:
If the handler isnt enabled what happens if they do not specify a filename? You might be able to configure default.aspx to be the default page under IIS - never tried it when using an httphandler though.
 
Back
Top