Hi Massimo, I deploy an application by following the documentation this way:
1 - send web2py for the root, and create a diretory caled /public in the root too 2 - create a file called web2py.fcgi, in /public dir, with this content #!/usr/bin/python import os, sys _PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, _PROJECT_DIR) os.chdir(_PROJECT_DIR) import gluon.main import gluon.contrib.gateways.fcgi as fcgi fcgi.WSGIServer(gluon.main.wsgibase, environ={'web2py_path': _PROJECT_DIR}).run() 3 - set permission to run the file: chmod +x web2py.fcgi 4 - create a file .htaccess in /public with this content: AddHandler fcgid-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ web2py.fcgi/$1 [QSA,L] 5 - Now, go into your admin panel, in the left side menu, click on Domains. On the screen that opens, you will see the path to the root of your application, click Edit and change the path to your directory / public. If you sent the files to the root, the configuration should look like this: /www/public/ it is (http://tuxtilt.alwaysdata.net/) On 19 ago, 14:13, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > I found a free web2py hosting service: alwaysdata.com > > They only provide 10MB free but if you remove applications/examples > and gluon/contrib/populate.py and gluon/contrib/py*/* web2py fits in > there. > > Problem. They support fcgi but I cannot figure it out. Instructions > are scarse and in french. > > Can anybody else? > > massimo