Re: httpHandlers



Might be one of those odd suggestions - but have you tried to just check the
request extension and drop through your handler if its missing or has an
..aspx extension?

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"Manso" <Manso@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D0B235D-78B2-4CD7-9B2D-A752081A57EB@xxxxxxxxxxxxxxxx
Hi,

We are doing custom request rewriting in a httpModule in
Application.AuthenticateRequest for requests coming in with .aspx using
HttpContext.RewritePath().

We are having a problem identifying requests that come in from registered
httpHandlers i.e. handlers with extension .aspx. These should just fall
through and not be analyzed/rewritten. Is there a way (flag?) that
identifies
a request as a request to a handler? The Context.CurrentHandler is not yet
set this early.

We could always read the configuration data but since handlers can be
added
further down in the config hierarchy we cannot cache it and it seems like
a
costly operation.

Grateful for any ideas.

Thanks,
Manso


.



Relevant Pages

  • Re: httpHandlers
    ... It is the extension that identifies the handler to the web server. ... We are only rewriting URLs with aspx extensions e.g. ... "normal" request that needs to be rewritten. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: httpHandlers
    ... It is the extension that identifies the handler to the web server. ... We are only rewriting URLs with aspx extensions e.g. ... "normal" request that needs to be rewritten. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using an HttpHandler to redirect a certain extension to ASPX pages behind the scenes
    ... Why don't you just assign ASP.Net as the handler for this extension? ... ASP.Net will handle the request, ... I'd like to basically figure out which ASPX page to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: httpHandlers
    ... ..aspx extension exclusively with your HttpHandler. ... It is the extension that identifies the handler to the web server. ... "normal" request that needs to be rewritten. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Modular PHP
    ... How can I catch an event in PHP. ... Everything is done with XML, so you will want to be familiar with XSLT ... the function itentified by the Handler attribute in the above XML, ... It's also worth noting that all the XML parsing for the request map ...
    (comp.lang.php)