From 2a062a2ff5aa1e07e7bfcfdbf36b7f72e8aac5b4 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 6 Oct 2013 10:08:40 -0500 Subject: [PATCH] fixed setup scripts for apache to use processes, not threads, thanks Thomas --- VERSION | 2 +- scripts/setup-web2py-fedora-ami.sh | 2 +- scripts/setup-web2py-fedora.sh | 2 +- scripts/setup-web2py-ubuntu.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index abc6a8c5..7807b57d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.1-stable+timestamp.2013.10.05.08.50.58 +Version 2.7.1-stable+timestamp.2013.10.06.10.07.46 diff --git a/scripts/setup-web2py-fedora-ami.sh b/scripts/setup-web2py-fedora-ami.sh index a36fbcc4..dae7132c 100755 --- a/scripts/setup-web2py-fedora-ami.sh +++ b/scripts/setup-web2py-fedora-ami.sh @@ -299,7 +299,7 @@ NameVirtualHost *:80 NameVirtualHost *:443 - WSGIDaemonProcess web2py user=apache group=apache + WSGIDaemonProcess web2py user=apache group=apache processes=1 threads=1 WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py diff --git a/scripts/setup-web2py-fedora.sh b/scripts/setup-web2py-fedora.sh index 801ce8ea..5566e95d 100644 --- a/scripts/setup-web2py-fedora.sh +++ b/scripts/setup-web2py-fedora.sh @@ -301,7 +301,7 @@ NameVirtualHost *:80 NameVirtualHost *:443 - WSGIDaemonProcess web2py user=apache group=apache + WSGIDaemonProcess web2py user=apache group=apache processes=1 threads=1 WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py WSGIPassAuthorization On diff --git a/scripts/setup-web2py-ubuntu.sh b/scripts/setup-web2py-ubuntu.sh index b4ef9901..0de6a122 100755 --- a/scripts/setup-web2py-ubuntu.sh +++ b/scripts/setup-web2py-ubuntu.sh @@ -91,7 +91,7 @@ NameVirtualHost *:443 # within a virtual host container, only WSGI applications associated with # virtual hosts with the same server name as that virtual host can be # delegated to that set of daemon processes. -WSGIDaemonProcess web2py user=www-data group=www-data +WSGIDaemonProcess web2py user=www-data group=www-data processes=1 threads=1 WSGIProcessGroup web2py