Re: [modwsgi] mod_wsgi (3.4-14) / Apache 2.4.12 / cx_oracle 5.2 / Oracle 12 / Red Hat (6.7) / Django 1.8.2 hanging under load

2015-09-29 Thread 'Lukasz Szajkowski' via modwsgi
> > Thank you Graham for answering while on vacations !! > Unfortunately this didn't help same problem with same stack trace. Does it make any difference that I have in Apache conf WSGISocketPrefix ../../var/run/wsgi WSGIPythonHome /opt/python_envs/pyframe and in virtual host configuration

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Graham Dumpleton
Oh, didn’t know that. I only tested overriding for POST case with GET being the one which goes through normally. Let me think some more then. Graham > On 29 Sep 2015, at 4:20 pm, Josh Rodriguez wrote: > > Hmm, not sure that this is going to work...not having luck getting

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Graham Dumpleton
Perhaps mod_rewrite then. WSGIScriptAlias /.special-listing /Library/WebServer/Documents/environ.wsgi #Script GET /.special-listing #Script POST /.special-listing RewriteEngine On RewriteCond %{PATH_INFO} !^/.special-listing RewriteCond %{REQUEST_METHOD} GET [OR] RewriteCond %{REQUEST_METHOD}

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Josh Rodriguez
Hmm, not sure that this is going to work...not having luck getting the GET script to run... According to the mod_actions documentation: "Also note that Script with a method of GET will only be called if there are query arguments present (*e.g.*, foo.html?hi). Otherwise, the request will

Re: [modwsgi] mod_wsgi (3.4-14) / Apache 2.4.12 / cx_oracle 5.2 / Oracle 12 / Red Hat (6.7) / Django 1.8.2 hanging under load

2015-09-29 Thread Graham Dumpleton
> On 29 Sep 2015, at 6:25 pm, 'Lukasz Szajkowski' via modwsgi > wrote: > > Thank you Graham for answering while on vacations !! > > Unfortunately this didn't help same problem with same stack trace. > > Does it make any difference that I have in Apache conf > >

Re: [modwsgi] WSGI : what is Best Practice for connecting to Python application.

2015-09-29 Thread Graham Dumpleton
Hi René Was Jason able to answer you questions adequately? Sorry for not replying at the time but I was stuck on a cruise ship with no Internet at the time. Graham > On 7 Sep 2015, at 1:50 pm, rene.heym...@gmail.com wrote: > > Hello Jason, > Thank you for your offer. > I'll contact you then

Re: [modwsgi] mod_wsgi (3.4-14) / Apache 2.4.12 / cx_oracle 5.2 / Oracle 12 / Red Hat (6.7) / Django 1.8.2 hanging under load

2015-09-29 Thread Graham Dumpleton
> On 29 Sep 2015, at 5:10 am, 'Lukasz Szajkowski' via modwsgi > wrote: > > The actual stack trace while hanging is > #0 0x7f047ff099b0 in sem_wait () from /lib64/libpthread.so.0 > #1 0x7f0474b4c6d8 in PyThread_acquire_lock_timed () from >

Re: [modwsgi] mod_wsgi-express possible to edit conf file?

2015-09-29 Thread Graham Dumpleton
Hi Joshua How to go with working this out? Sorry for the delayed reply, but a few comments below. > On 10 Sep 2015, at 12:49 am, Joshua Glenn wrote: > > Using mod_wsgi-express for the first time. I intend to use this as a solution > to the problem of having two django

Re: [modwsgi] mod_wsgi-express setup (daemon mode) on Yosemite (OS X 10.10.5)

2015-09-29 Thread Graham Dumpleton
Hi Judith Sorry about the delayed check on how you went with this. Am finally home after a long holiday. I am still curious as to how you ended up with the long path. The actual problem of the long path is a known issue and an issue exists for it at:

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Josh Rodriguez
Hmmm, just tried that. For some reason, it's redirecting WebDAV requests to /.special-listing/index.html...but I've turned the default Directory Listing page option off... On Monday, September 28, 2015 at 11:41:54 PM UTC-7, Graham Dumpleton wrote: > > Perhaps mod_rewrite then. > >

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Graham Dumpleton
Okay, I was seeing requests for index.html.en as well, but figured it was because of the odd way I was testing it overlaid on DocumentRoot where index stuff may have been set up. I didn’t try ensuring DirectoryIndex was off and was hoping it would just work. :-( I will have to play some more

Re: [modwsgi] WSGIScriptAlias and WebDAV

2015-09-29 Thread Josh Rodriguez
Oh, shoot, get some sleep! I really appreciate all the help. I'm also willing to concede that this might not be the best approach to this...there are similar solutions in PHP, but would much rather be able to use a Flask environment to generate these pages... On Tuesday, September 29, 2015 at