Graham,
How can I detect from within my application whether it is being run by
apache with mod_wsgi versus run by paster?
I'm assuming there is a fairly nice way to determine this.
Thanks for your time,
Kent
--
You received this message because you are subscribed to the Google Groups
I found this:
if shell in sys.argv:
And I'll use that unless someone has a better way.
Thanks!
On Monday, March 26, 2012 11:46:07 AM UTC-4, Kent wrote:
Graham,
How can I detect from within my application whether it is being run by
apache with mod_wsgi versus run by paster?
I'm
I am facing the same issue with django+apache+mod_wsgi+svn 1.7.
I posted it on svn mailing list and got following reply
mod_wsgi is probably intercepting the POST request intended for
mod_dav_svn and not passing it on. Subversion 1.7.0 had a similar
problem, it tried to process non-Subversion
See:
http://code.google.com/p/modwsgi/wiki/TipsAndTricks#Determining_If_Running_Under_mod_wsgi
Graham
On 27 March 2012 03:02, Kent jkentbo...@gmail.com wrote:
I found this:
if shell in sys.argv:
And I'll use that unless someone has a better way.
Thanks!
On Monday, March 26, 2012
I thought I already suggested playing with order of LoadModule lines
in Apache configuration, will need to check back in emails. I did
consider that likely order of one of the handlers, but based on
fiddling LoadModule lines not helping, seemed to be something else.
Graham
On 27 March 2012
On Tue, Mar 27, 2012 at 1:20 AM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
I thought I already suggested playing with order of LoadModule lines
in Apache configuration, will need to check back in emails. I did
consider that likely order of one of the handlers, but based on
fiddling