Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread Graham Dumpleton
See comments below. > On 14 Dec 2023, at 10:41 pm, yoshitaka okada > wrote: > > This is the apache configuration. It was working before I updated python to > 3.11. > > ``` > > # The ServerName directive sets the request scheme, hostname and port > that > # the server uses

Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread yoshitaka okada
This is the apache configuration. It was working before I updated python to 3.11. ``` # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of

Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread Graham Dumpleton
> On 14 Dec 2023, at 9:42 pm, Graham Dumpleton > wrote: > > If using pip install version of mod_wsgi, make sure that you haven't > installed operating system package for mod_wsgi and have configuration using > that still laying around. In other words, you should also have line: Mean to say

Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread Graham Dumpleton
If using pip install version of mod_wsgi, make sure that you haven't installed operating system package for mod_wsgi and have configuration using that still laying around. In other words, you should also have line: LoadModule wsgi_module modules/mod_wsgi.so That should be

Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread yoshitaka okada
Thank you master :) The command now works. ``` (venv) rootik1-336-28225:/home/ubuntu# mod_wsgi-express module-config LoadModule wsgi_module "/var/www/html/venv/lib/python3.11/site-packages/mod_wsgi/server/mod_wsgi-py311.cpython-311-x86_64-linux-gnu.so" ``` I replaced LOAD_MODULE with...

Re: [modwsgi] mod_wsgi-express: command not found

2023-12-14 Thread Graham Dumpleton
The mod_wsgi-express command is available when installing mod_wsgi using pip. See: https://pypi.org/project/mod-wsgi/ mod-wsgi pypi.org and watch: https://www.youtube.com/watch?v=CPz0s1CQsTE=5s Graham Dumpleton - Secrets of a WSGI master. - PyCon 2018 youtube.com If you want to use