improved the script setup-web2py-ubuntu.sh, thanks Martin

This commit is contained in:
mdipierro
2012-09-09 14:15:14 -05:00
parent 931eefd260
commit fd808a85df
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.8 (2012-09-09 13:54:31) stable
Version 2.0.8 (2012-09-09 14:15:10) stable
+8 -1
View File
@@ -82,9 +82,16 @@ echo "================================================="
echo '
NameVirtualHost *:80
NameVirtualHost *:443
# If the WSGIDaemonProcess directive is specified outside of all virtual
# host containers, any WSGI application can be delegated to be run within
# that daemon process group.
# If the WSGIDaemonProcess directive is specified
# 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
<VirtualHost *:80>
WSGIDaemonProcess web2py user=www-data group=www-data
WSGIProcessGroup web2py
WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py
WSGIPassAuthorization On