AFAIK, once you have configured apache to use mod_wsgi as a handler for a given URL, it will be called for that URL. You could get more fine-grained with the WSGI configuration, using regular expressions to specify what URLs to send to the mod_wsgi handler.
Do you have specific criteria in mind that you want to use to decide if mod_wsgi should be or should not be used? On Mon, Mar 22, 2010 at 4:29 PM, Deron Meranda <[email protected]>wrote: > Is it possible for a WSGI application to decide it wants > to decline being a handler; from the Apache perspective? > > I know the WSGI spec itself doesn't provide for this, > but is there some sort of exception or something that > could do this with mod_wsgi? > > Obviously this would have to happen before the call > to the response_handler callback; because that is > the point of no return. > -- > Deron Meranda > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<modwsgi%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
