ap2-mod_wsgi

Python WSGI compliant interface module for Apache2

WWW CVSWeb GITHub
  1. Package version
    ap2-mod_wsgi-4.9.4p0
  2. Maintainer
    The OpenBSD ports mailing-list

The mod_wsgi adapter is an Apache module that provides a WSGI compliant
interface for hosting Python based web applications within Apache. The
adapter is written completely in C code against the Apache C runtime and
for hosting WSGI applications within Apache has a lower overhead than
using existing WSGI adapters for mod_python or CGI.

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

To enable the ap2-mod_wsgi module, the following line needs to be added
to ${SYSCONFDIR}/apache2/httpd2.conf:
LoadModule wsgi_module ${PREFIX}/lib/apache2/mod_wsgi.so

Then httpd2(8) must be restarted.

  • www/apache-httpd
  • lang/python/3.10

  • www/apache-httpd
  • lang/python/3.10