fixed setup scripts for apache to use processes, not threads, thanks Thomas
This commit is contained in:
@@ -299,7 +299,7 @@ NameVirtualHost *:80
|
||||
NameVirtualHost *:443
|
||||
|
||||
<VirtualHost *:80>
|
||||
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
|
||||
|
||||
|
||||
@@ -301,7 +301,7 @@ NameVirtualHost *:80
|
||||
NameVirtualHost *:443
|
||||
|
||||
<VirtualHost *:80>
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
<VirtualHost *:80>
|
||||
WSGIProcessGroup web2py
|
||||
|
||||
Reference in New Issue
Block a user