Installing mod_wsgi

The mod_wsgi module enables Apache servers to host high-performance Python applications using the WSGI interface. This method requires the use of a dedicated Apache server instance (see installation guide), which is included in our Avancé and Corporatif packages.

Installing mod_wsgi

Since the mod_wsgi module is already installed and maintained server-wide, simply add the following to your httpd.conf:

  LoadModule /usr/local/httpd/modules/mod_wsgi.so

If your account is on an OpenBSD server, you will also need to add the following lines to the envvars script, located in your Apache bin directory:

  LD_PRELOAD=/usr/lib/libpthread.so
  export LD_PRELOAD
Using mod_wsgi

See the Quick configuration guide for mod_wsgi.

To configure a Trac installation to use mod_wsgi, follow these instructions.


Ce site web - © 2012 Hébergement Csoft.net, Inc.
(Nous Rejoindre) (Politique de Confidentialité)
  LPF Valid HTML 4.01 Transitional