From 913e6f283cfc1ba3ba116466bce5f970dbfa6e5d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 11 Oct 2009 01:58:16 +0000 Subject: Protip from Graham. --- docs/tutorials/modwsgi/index.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'docs/tutorials') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 95663b962..01f3058ff 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -100,23 +100,19 @@ commands and files. create a file named ``/etc/apache2/other/modwsgi.conf`` on my own system while installing Apache, so this stuff went in there. - .. code-block:: bash + .. code-block:: apache :linenos: # Use only 1 Python sub-interpreter. Multiple sub-interpreters # play badly with C extensions. - WSGIApplicationGroup 0 - + WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On - - WSGIDaemonProcess bfg user=chrism group=staff processes=1 threads=6 \ + WSGIDaemonProcess bfg user=chrism group=staff processes=1 threads=4 \ python-path=/Users/chrism/projects/modwsgi/env/lib/python2.6/site-packages - WSGIScriptAlias /myapp /Users/chrism/projects/modwsgi/env/bfg.wsgi WSGIProcessGroup bfg - WSGIApplicationGroup %{GLOBAL} Order allow, deny Allow from all -- cgit v1.2.3