You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using libapache2-mod-python with AddHandler mod_python and PythonHandler mod_python.publisher in my .htaccess file to serve up *.py files. I'm trying to use libapache2-mod-wsgi now and am unsure of how to duplicate this functionality.
The text was updated successfully, but these errors were encountered:
There is no direct equivalent. You are better off rewriting to use a basic WSGI framework such as Flask (https://flask.palletsprojects.com/en/3.0.x/). Modern day WSGI frameworks are much more powerful and more secure than mod_python.publisher ever was.
I was using libapache2-mod-python with
AddHandler mod_python
andPythonHandler mod_python.publisher
in my .htaccess file to serve up *.py files. I'm trying to use libapache2-mod-wsgi now and am unsure of how to duplicate this functionality.The text was updated successfully, but these errors were encountered: