From 75633b695b50fa97ccd49be703a1b645f558cf77 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 13 Sep 2012 02:26:53 -0400 Subject: remove chmod --- docs/tutorials/modwsgi/index.rst | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'docs/tutorials/modwsgi') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index d11167344..301c6b4ed 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -90,12 +90,7 @@ 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 this script executable. #. Edit your Apache configuration and add some stuff. I happened to create a file named ``/etc/apache2/other/modwsgi.conf`` on my own -- cgit v1.2.3 From b9065f5cbeeccac0d47f6571b28b32d99f09dc9a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 13 Sep 2012 02:33:25 -0400 Subject: mention non-support of SELinux-enabled systems --- docs/tutorials/modwsgi/index.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'docs/tutorials/modwsgi') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 301c6b4ed..8c1baf518 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -7,12 +7,14 @@ 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. A caveat: this tutorial +doesn't anticipate use of systems like Fedora and/or Red Hat Enterprise Linux +or other with SELinux enabled by default; those systems will need "special +loving" that are outside the scope of this short tutorial. .. note:: Unfortunately these instructions almost certainly won't work for deploying a :app:`Pyramid` application on a Windows system using @@ -90,7 +92,7 @@ commands and files. `logging` module to allow logging within your application. See :ref:`logging_config`. - There is no need to make this script executable. + There is no need to make the ``pyramid.wsgi`` script executable. #. Edit your Apache configuration and add some stuff. I happened to create a file named ``/etc/apache2/other/modwsgi.conf`` on my own -- cgit v1.2.3 From b262065e9b0805d2fe6245e31295d63bdc3183ef Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 13 Sep 2012 02:46:20 -0400 Subject: hailmary --- docs/tutorials/modwsgi/index.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/tutorials/modwsgi') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 8c1baf518..b08383580 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -93,6 +93,10 @@ loving" that are outside the scope of this short tutorial. See :ref:`logging_config`. 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 -- cgit v1.2.3 From 8a939c76f43b58c5216eca2428adef9838c50c35 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 13 Sep 2012 02:54:44 -0400 Subject: remove selinux caveat --- docs/tutorials/modwsgi/index.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'docs/tutorials/modwsgi') diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index b08383580..a22f12610 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -11,10 +11,7 @@ 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. A caveat: this tutorial -doesn't anticipate use of systems like Fedora and/or Red Hat Enterprise Linux -or other with SELinux enabled by default; those systems will need "special -loving" that are outside the scope of this short tutorial. +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 -- cgit v1.2.3