From d6a7d86796c63e951a9834a99f13f5383bc04c86 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 18 Jan 2011 19:00:04 -0500 Subject: get maillist link right --- docs/tutorials/modwsgi/index.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/tutorials/modwsgi/index.rst') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 766f05b56..4257f40b3 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -14,12 +14,12 @@ This particular tutorial was developed under Apple's Mac OS X platform 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 ``mod_wsgi``. If you have experience with :app:`Pyramid` - and ``mod_wsgi`` on Windows systems, please help us document - this experience by submitting documentation to the `mailing list - `_. +.. note:: Unfortunately these instructions almost certainly won't work for + deploying a :app:`Pyramid` application on a Windows system using + ``mod_wsgi``. If you have experience with :app:`Pyramid` and ``mod_wsgi`` + on Windows systems, please help us document this experience by submitting + documentation to the `Pylons-devel maillist + `_. #. The tutorial assumes you have Apache already installed on your system. If you do not, install Apache 2.X for your platform in -- cgit v1.2.3 From 43ab049020d000a84c86770e9782a9964ff4167d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 01:50:46 -0500 Subject: deal with the addition of production.ini --- docs/tutorials/modwsgi/index.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'docs/tutorials/modwsgi/index.rst') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 4257f40b3..c6d5d891d 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -75,13 +75,15 @@ commands and files. from pyramid.paster import get_app application = get_app( - '/Users/chrism/modwsgi/env/myapp/myapp.ini', 'main') - - The first argument to ``get_app`` is the project Paste - configuration file name. The second is the name of the section - within the .ini file that should be loaded by ``mod_wsgi``. The - assignment to the name ``application`` is important: mod_wsgi - requires finding such an assignment when it opens the file. + '/Users/chrism/modwsgi/env/myapp/production.ini', 'main') + + The first argument to ``get_app`` is the project Paste configuration file + name. It's best to use the ``production.ini`` file provided by your + Pyramid paster template, as it contains settings appropriate for + production. The second is the name of the section within the .ini file + that should be loaded by ``mod_wsgi``. The assignment to the name + ``application`` is important: mod_wsgi requires finding such an + assignment when it opens the file. #. Make the ``pyramid.wsgi`` script executable. -- cgit v1.2.3 From 670c39054d7dcc139f9cbec2fc816928405c06a8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 29 Jan 2011 00:24:47 -0500 Subject: too-long line --- docs/tutorials/modwsgi/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/tutorials/modwsgi/index.rst') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index c6d5d891d..5da7f32c7 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -102,7 +102,8 @@ commands and files. # play badly with C extensions. WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On - WSGIDaemonProcess pyramid user=chrism group=staff processes=1 threads=4 \ + WSGIDaemonProcess pyramid user=chrism group=staff processes=1 \ + threads=4 \ python-path=/Users/chrism/modwsgi/env/lib/python2.6/site-packages WSGIScriptAlias /myapp /Users/chrism/modwsgi/env/pyramid.wsgi -- cgit v1.2.3