Remove mod_python $ sudo apt purge libapache2-mod-python no reason to use it in 2022.
Frankly, I see no reason to use apache for python either: I recommend python application server (gunicorn or uwsgi) and light frontend like nginx or lighthttpd to terminate HTTPS and serve static files. You can connect them using FastCGI or HTTP. On Fri, Jun 3, 2022 at 7:56 PM ldmko...@yahoo.com <ldmko...@yahoo.com> wrote: > I wanted to try and use Python in my HTML pages. And apparently I have > screwed up my Apache2 configuration in the process. > > I now get : > > [Fri Jun 03 12:42:41.002183 2022] [wsgi:crit] [pid 31238] mod_wsgi > (pid=31238): The mod_python module can not be used in conjunction with > mod_wsgi 4.0+. Remove the mod_python module from the Apache configuration. > AH00016: Configuration Failed > > when I try to restart/start Apache2. > > I cannot find the "mod_python module" in my .conf files. Any suggestions > or pointers will be appreciated. > > Thanks................... >