Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.81 KB

Symonds.net.md

File metadata and controls

46 lines (31 loc) · 1.81 KB
layout title
default
Symonds.net

Symonds.net

I was able to get web.py running without too much trouble on my hosting service Symonds.net. I created a personal status page with it, which can be viewed here. The source code for the page is also included.

Getting it up

web.py can be run on Symonds.net using FastCGI.

Note that the Python installation on Symonds.net did not have the following modules installed, so I had to install it inside my local folder.

Follow the instructions on your host:

  • change directory into the newly created domain, e.g : cd deepak
  • wget http://webpy.org/web.py
  • wget http://www.saddi.com/software/flup/dist/flup-r1839.tar.gz
  • tar zxvf flup-r1839.tar.gz
  • mv flup-r1839/flup/ ./flup

On your local machine, as superuser :

After that, include the following in the .htaccess file inside the folder you downloaded web.py:

 Options FollowSymLinks ExecCGI
 
 <Files *py>     SetHandler cgi-script
 Addhandler cgi-script py
 </Files>

You might also want to include some URL redirection directives like :

  RewriteEngine on
  RewriteRule    ^status$ status.py/status

After this, you should be able to view your web.py app like here.