Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (31 sloc) 1.849 kb
ab28f43 edit
anonymous authored
1 ---
2 layout: default
3 title: Symonds.net
4 ---
5
6 # Symonds.net
7
ad5a9bb edit
anonymous authored
8 I was able to get web.py running without too much trouble on my hosting service [Symonds.net](http://symonds.net/). I created a personal status page with it, which can be viewed [here](http://deepak.jois.name). The source code for the page is also included.
9
10 ## Getting it up
11
12 web.py can be run on Symonds.net using FastCGI.
13
14 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.
15
16 * Cheetah
17 * [flup](http://www.saddi.com/software/flup/)
18
2d4d5df edit
anonymous authored
19 Follow the instructions on your host:
20
4f86a57 edit
anonymous authored
21 * change directory into the newly created domain, e.g : `cd deepak`
2d4d5df edit
anonymous authored
22 * `wget http://webpy.org/web.py`
23 * `wget http://www.saddi.com/software/flup/dist/flup-r1839.tar.gz`
24 * `tar zxvf flup-r1839.tar.gz`
25 * `mv flup-r1839/flup/ ./flup`
4f86a57 edit
anonymous authored
26
2d4d5df edit
anonymous authored
27 On your local machine, as superuser :
28
29 * Download Cheetah from <http://sourceforge.net/project/showfiles.php?group_id=28961&package_id=20864&release_id=391008> and extract it.
30 * Extract it using `tar xvzf Cheetah-2.0rc4.tar.gz`
31 * Install it using : `cd Cheetah-2.0rc4` and `python setup.py install`
32 * Copy the folder named `/usr/lib/python<version>/site-packages/Cheetah` to your host in the same folder you downloaded `web.py` : `scp -r /usr/lib/python2.4/site-packages/Cheetah username@hostname:public_html/deepak/`
33
34 After that, include the following in the `.htaccess` file inside the folder you downloaded `web.py`:
ad5a9bb edit
anonymous authored
35
36 Options FollowSymLinks ExecCGI
37
38 <Files *py> SetHandler cgi-script
39 Addhandler cgi-script py
40 </Files>
2d4d5df edit
anonymous authored
41 You might also want to include some URL redirection directives like :
f8f82e1 edit
anonymous authored
42
2d4d5df edit
anonymous authored
43 RewriteEngine on
44 RewriteRule ^status$ status.py/status
ad5a9bb edit
anonymous authored
45
d04745d edit
anonymous authored
46 After this, you should be able to view your web.py app like [here](http://deepak.jois.name/status).
Something went wrong with that request. Please try again.