On Jul 30, 1:40 am, Vasile Ermicioi <[email protected]> wrote: > I think you don't need that a install script for web2py > > I would recommend > > 1. Create from your panel an application: > - category: mod_wsgi > - type: mod_wsgi 3.2 / python2.6 > 2. Use mod_wsgi deployment > recipeshttp://web2py.com/book/default/chapter/11#mod_wsgi > > <http://web2py.com/book/default/chapter/11#mod_wsgi>notes: > - don't forget to use the port of your application (webfaction app that you > just created) when configuring httpd.conf
I used to think webfaction's one-click installer would be handy for noob like me. Turns out its apache conf is quite different than the one suggested in http://web2py.com/book/default/chapter/11#mod_wsgi The webfaction apache http.conf is as below. $ cat ../conf/httpd.conf ServerRoot "/home/xxxx/webapps/web2py_1_81_5/apache2" LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule wsgi_module modules/mod_wsgi.so DirectoryIndex index.py DocumentRoot /home/xxxx/webapps/web2py_1_81_5/htdocs KeepAlive Off Listen 53400 LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog /home/xxxx/logs/user/access_web2py_1_81_5.log combined ErrorLog /home/xxxx/logs/user/error_web2py_1_81_5.log ServerLimit 1 # I just change it from 2 to 1 #ServerLimit 2 SetEnvIf X-Forwarded-SSL on HTTPS=1 WSGIScriptAlias / /home/xxxx/webapps/web2py_1_81_5/web2py/ wsgihandler.py

