summaryrefslogtreecommitdiff
path: root/docs/tutorials/modwsgi/index.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-09-13 18:12:33 -0400
committerChris McDonough <chrism@plope.com>2012-09-13 18:12:33 -0400
commita9f5e705bb331098946eef774857511a02e4f498 (patch)
tree35eee0505157215b5286203d7424a2d8cce39af7 /docs/tutorials/modwsgi/index.rst
parent3aeb794d49655e7cd81b7d553f0da275b0cde3a9 (diff)
parent9ff3b26dcb8ab9e846356d64a18f1ec10440e02e (diff)
downloadpyramid-a9f5e705bb331098946eef774857511a02e4f498.tar.gz
pyramid-a9f5e705bb331098946eef774857511a02e4f498.tar.bz2
pyramid-a9f5e705bb331098946eef774857511a02e4f498.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/tutorials/modwsgi/index.rst')
-rw-r--r--docs/tutorials/modwsgi/index.rst22
1 files changed, 10 insertions, 12 deletions
diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst
index d11167344..a22f12610 100644
--- a/docs/tutorials/modwsgi/index.rst
+++ b/docs/tutorials/modwsgi/index.rst
@@ -7,12 +7,11 @@ Running a :app:`Pyramid` Application under ``mod_wsgi``
It allows :term:`WSGI` programs to be served using the Apache web
server.
-This guide will outline broad steps that can be used to get a
-:app:`Pyramid` application running under Apache via ``mod_wsgi``.
-This particular tutorial was developed under Apple's Mac OS X platform
-(Snow Leopard, on a 32-bit Mac), but the instructions should be
-largely the same for all systems, delta specific path information for
-commands and files.
+This guide will outline broad steps that can be used to get a :app:`Pyramid`
+application running under Apache via ``mod_wsgi``. This particular tutorial
+was developed under Apple's Mac OS X platform (Snow Leopard, on a 32-bit
+Mac), but the instructions should be largely the same for all systems, delta
+specific path information for commands and files.
.. note:: Unfortunately these instructions almost certainly won't work for
deploying a :app:`Pyramid` application on a Windows system using
@@ -90,12 +89,11 @@ commands and files.
`logging` module to allow logging within your application.
See :ref:`logging_config`.
-#. Make the ``pyramid.wsgi`` script executable.
-
- .. code-block:: text
-
- $ cd ~/modwsgi/env
- $ chmod 755 pyramid.wsgi
+ There is no need to make the ``pyramid.wsgi`` script executable.
+ However, you'll need to make sure that *two* users have access to change
+ into the ``~/modwsgi/env`` directory: your current user (mine is
+ ``chrism`` and the user that Apache will run as often named ``apache`` or
+ ``httpd``). Make sure both of these users can "cd" into that directory.
#. Edit your Apache configuration and add some stuff. I happened to
create a file named ``/etc/apache2/other/modwsgi.conf`` on my own