Re: [modwsgi] timeouts

2022-03-14 Thread Bob Bobsled
something like > request-timeout=60 to WSGIDaemonProcess to force recovery of the daemon > process when requests get stuck. A side effect of that will be that > tracebacks are logged telling you where it gets stuck. > > Graham > > On 12 Mar 2022, at 9:39 am, Bob Bobsled wr

Re: [modwsgi] timeouts

2022-03-11 Thread Bob Bobsled
the VirtualHost, Directory/Location > blocks and how mod_wsgi directives sit in respect of those and what > arguments are given to them. > > On 11 Mar 2022, at 11:19 am, Bob Bobsled wrote: > > > Hi, > I'm trying to troubleshoot a poorly performing django site. This started &g

[modwsgi] timeouts

2022-03-10 Thread Bob Bobsled
Hi, I'm trying to troubleshoot a poorly performing django site. This started acting up when I upgraded on Fedora to python 3.10. I've seen this post: https://groups.google.com/g/modwsgi/c/_i6MGs6fh6w?pli=1 and

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-22 Thread Bob Bobsled
URL, where the URL in this case would be: > > http://myothersite.XXX.XXX.107.165.nip.io > > This is a much better way of handling it. > > See the nip.io site to see how it works. Do be ware though that some > corporate networks may block it from working. > > Graham >

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-21 Thread Bob Bobsled
nstead. > > For details on using virtual environments see: > > > https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html > > Graham > > On 19 Jun 2021, at 10:35 am, Bob Bobsled wrote: > > Hi Graham, > Yes, not sure why fedora has two dirs for apache m

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-18 Thread Bob Bobsled
r', ] Regards, Bob On Thu, Jun 17, 2021 at 2:59 PM Graham Dumpleton wrote: > > > On 18 Jun 2021, at 5:06 am, Bob Bobsled wrote: > > Hi Graham, > > Thanks very much for your help and guidance. > > I no longer have any system installed package for mod_ws

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-17 Thread Bob Bobsled
/etc/http/conf.modules.d to ensure it is loaded early. If you > don't have a system package for mod_wsgi you would need to create that file > yourself. > > On 16 Jun 2021, at 11:07 am, Bob Bobsled wrote: > > > *And did you try using the config output by install-module

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-15 Thread Bob Bobsled
t; > WSGIPythonHome "/opt/myenv" > > > What do you get for: > > ls -las /usr/lib64/httpd/modules/ > mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so > > > Graham > > On 15 Jun 2021, at 10:36 am, Bob Bobsled wrote: > > Hi Graham, > re: f34,

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-14 Thread Bob Bobsled
thonHome directive as well if mod_wsgi > were installed into a Python virtual environment. > > Also, what are the exact messages that Apache outputs in the error log > when failing to load it? > > Graham > > On 11 Jun 2021, at 5:22 am, Bob Bobsled wrote: > > Hi Graham, > Un

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-10 Thread Bob Bobsled
>> http://blog.dscpl.com.au/2015/05/using-modwsgi-express-as-development.html >> >> https://www.youtube.com/watch?v=CPz0s1CQsTE=7s >> >> If you really want to go the way of manually configuring the system >> Apache for mod_wsgi instead, the "install-module"

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-09 Thread Bob Bobsled
watch?v=CPz0s1CQsTE=7s > > If you really want to go the way of manually configuring the system Apache > for mod_wsgi instead, the "install-module" command will only work if done > as root, so you need to use "sudo" to run it. > > Graham > > On 9 Jun 2021, at 5:20 a

Re: [modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-08 Thread Bob Bobsled
d indicate what problem you have at that > point. > > Graham > > On 8 Jun 2021, at 10:57 am, Bob Bobsled wrote: > > Hello Graham, > > I have tried unsuccessfully to get mod-wsgi working for Django, and httpd > on fedora34. > > I tried the CMMI method first, d

[modwsgi] mod-wsgi 4.8.0 on fedora34

2021-06-07 Thread Bob Bobsled
Hello Graham, I have tried unsuccessfully to get mod-wsgi working for Django, and httpd on fedora34. I tried the CMMI method first, downloading/configuring/make/install, but the instructions give out at the point of knowing what to do after getting the module into etc/httpd/modules. I'm stuck

Re: [modwsgi] fedora mod_wsgi django

2019-08-21 Thread Bob Bobsled
d deployment method. > > On 21 Aug 2019, at 10:24 am, Graham Dumpleton > wrote: > > You don't actually show the exception details in the log that I can see. > You truncated it. It is the bit at the end of the traceback which is > important as that says what the exception is

[modwsgi] fedora mod_wsgi django

2019-08-20 Thread Bob Bobsled
Hi, I'm struggling badly with mod_wsgi, python3, and django on fedora30. Seems like everything is working alone, but I cannot get mod_wsgi to work with django, if that makes any sense. In other words my django app works from runserver, and I can see the whiskey image from mod_wsgi, and can serve

[modwsgi] fedora30, mod_wsgi, django

2019-08-06 Thread Bob Bobsled
Hi, I posted recently asking has anyone worked with django under fedora30 as production server, with apache django mod_wsgi? I continued working and found this info very helpful: https://www.ionos.com/community/hosting/python/use-mod-wsgi-to-run-python-as-a-web-application-on-centos-7/ Where

[modwsgi] fedora30 apache mod_wsgi

2019-08-02 Thread Bob Bobsled
Wondering if anyone has django working from a production server under fedora30 apache django mod_wsgi? I have all the packages working I believe but cannot seem to find the magic with http.conf, my vhost configuration, nor where is the best location for the django application for production in

Re: [modwsgi] change default modwsgi port for django project with apache

2018-07-11 Thread Bob Bobsled
Hi, Thank you. I'll get to work on the static folder etc. and begin to work on a django site, now that the connection with apache is working. Regards, Bob On Tue, Jul 10, 2018 at 2:42 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > On 11 Jul 2018, at 10:35 am, Bob

Re: [modwsgi] change default modwsgi port for django project with apache

2018-07-10 Thread Bob Bobsled
onse def index(request): return HttpResponse("Hello, world. You're at the polls3 index.") On Tue, Jul 10, 2018 at 11:37 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > Comments included below. > > On 11 Jul 2018, at 5:20 am, Bob Bobsled wrote: > > Hi,

Re: [modwsgi] change default modwsgi port for django project with apache

2018-07-10 Thread Bob Bobsled
ls3.xxx.xxx.xx.xx.nip.io ERROR: First takes me to the WAMP php config page showing all wamp sites listed. Then if select mysite3.xxx.xxx.xx.xx.nip.io, see: Not Found The requested URL / was not found on this server. On Mon, Jul 9, 2018 at 3:24 PM, Grah

Re: [modwsgi] change default modwsgi port for django project with apache

2018-07-09 Thread Bob Bobsled
Hi, That's an interesting approach. I tried with the django project in c:/wamp/www/mysite2, and the placed the polls2 app inside the mysite2. I'm still getting the 404 error when trying httpd:// polls2.xxx.xxx.xx.xx.nip.io It initially asked me to add the url to settings.py, but still no joy.