Today I was able to stand up apache with mod_wsgi  on Rocky Linux 9 .... 
python3.9 is native ... so the basic steps were:

  sudo dnf update
  sudo dnf install httpd
  sudo dnf install httpd-devel
  sudo dnf groupinstall development    (not sure if necessary)
  sudo dnf install python3-devel      (otherwise you get  <Python.h> not 
found)
  
Then dd the mod_wsgi  ./configure   and  make  steps  (not sudo; not in any 
venv since 3.9 is native).   Then if all's well:   sudo make install

Also in  /etc/httpd/conf.modules.d  create a file named *10-wsgi.conf* and 
put this statement in it:
    LoadModule wsgi_module modules/mod_wsgi.so

Then the usual apache config and /var/www/wsgi-scripts and wsgirun things, 
and (re)start httpd

steve

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/23d7e3e9-d4a4-487a-b3f4-5326d27ddbc3n%40googlegroups.com.

Reply via email to