Last post Apr 09, 2007 10:05 AM by jbardrof
Apr 07, 2007 01:30 PM|jbardrof|LINK
So i'm trying for the first time to use the Httphandler and it starts off ok, but i'm hitting some issues. for starters I want all my .aspx pages to run through the handler: This works fine, my .aspx pages run through the handler.
I've decided next that i want the handler to also catch situations such as www.mysite.com/adirectory . Nothing too special here, just creating that redirection of having what appears to be a directory but is actually not. I've implemented it as such:
This also is doing what i want, well appears to be.
The problem is its catching everything now. If i simply try to link to a stylesheet on the page it fails and gives an error about buildproviders and stylesheets. If it take the handler for directories
out, stylesheets will work. So i attempted to make it so stylesheets werent affected by this:
/> Well this does something entirely different. stylesheets dont give me an exception anymore, they just don't work. I'm not sure where to go from here.
Apr 09, 2007 03:45 AM|Raymond Wen - MSFT|LINK
Apr 09, 2007 10:05 AM|jbardrof|LINK