Hello, I have written a httpHandler that captures non-existant URLs like this
http://www.myweb.com/article15.aspx
and rewrites it as
http://www.myweb.com/articles.aspx?id=15
now, what I would like to do is make it able to capture requests like this:
http://www.myweb.com/article/15/
unfortunately the handler doesn't work and I get a 404 error. The funny thing is that if I type:
http://www.myweb.com/article.aspx/15/
IT IS working, but what I want to accomplish is make the handler work without that ".aspx" part in the url. Is it possible? How?
Here's the code I have in my web.config
<httpHandlers>
<add verb="*" path="*" type="MyHandler" />
</httpHandlers>
Thanks.
Edit: I'm not the server manager so I can't edit any IIS configuration


Reply With Quote