Check out these pages on web2py slices: http://web2pyslices.com/main/default/search?query=FastCGI&criteria=tags
On Dec 4, 6:21 pm, pbreit <pbreitenb...@gmail.com> wrote: > Unfortunately, Python in general is a bit harder to deploy than HTML > and PHP. Site5 has a few different hosting options so to help out it > would be good to know what sort of plan you are on. If it's Shared > Hosting, I think you will want to try the "fastcgi" option. The web2py > book doesn't really provide information on this however. > > If you have: > /home/username/public_html > /home/username/web2py > > Add and ".htaccess" file at: > /home/username/public_html/.htaccess: > > And put this in it: > > AddHandler fastcgi-script .fcgi > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ ./web2py/fcgihandler.py/$1 [QSA,L] > > There's going to be one major problem in that you can't access > "admin". This page discusses these issues but for > Dreamhost:http://wiki.dreamhost.com/Web2py > > I have had the best luck running the "web2py.ubuntu.sh" script on > fresh installs of Ubuntu 10.04 at Amazon or Rackspace Cloud.