On 03/12/15 16:40, Jesus Cea wrote:
> I have an Apache virtualhost configured as a webdav server, but mapping
> a certain subdirectory to mod_wsgi. My python code gets executed for
> "GET" and "HEAD" requests, but "OPTIONS" and "PROPFIND" seems to be
> captured and processed by the Apache core.
> 
> Is there any way for mod_wsgi to get all HTTP methods?.

Ok, this is a two years old message.

At the time I workaround this using mod_proxy to a different
"<virtualhost>". Working for two years but "mind unsatisfactory".
Yesterday I decided that I was going to drill deep on this.

After a few minutes, I solved the issue changing the "<Location>"
directive to "<Directory>" directive, as suggested Apache HTTP by best
practices. This change delays the webdav activation until the very last
moment, giving mod_wsgi an oportunity to override.

Better late than never, they say.

PS: Congratulation to Graham. In these years I have tried quite a few
WSGI servers and mod_wsgi is THE ONLY one up to the task. Like Apache
HTTP server itself, mod_wsgi is ignored by newcomers, but oldtimers know
what the battle tested and well thought stuff are. Thanks for your
tireless work. Have a nice 2018, Graham.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
[email protected] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[email protected]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to