httphandler Hell

CryoEnix

Regular
Joined
Jan 11, 2003
Messages
93
Location
Wrexham, Wales
Hey guys, quick question - this one's been bugging me for some time, and google hasn't been my friend on it.

I've 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 don't know alot about httphandlers, but it sounds like a programming logic error, if you post the code that you'd like to work differently we could try to help alter it.
 
Last edited:
If the handler isn't 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