public
Description: A quick sample django app to show off Passanger's wsgi support
Homepage: http://www.mpet45.co.uk
Clone URL: git://github.com/kwe/passenger-django-wsgi-example.git
name age message
file .gitignore Loading commit data...
file README
file passenger_wsgi.py
directory public/ Wed Jun 11 03:09:00 -0700 2008 a wsgi app [kwe]
A really simple example to show how to use Phusion Passenger's to server WSGI Python apps (including Django!)

Two branches..

1. master - a basic WSGI python app, taken largely from Phusion's test suite
2. django - a very (very!) basic django blog app, that runs fine under Phusion Passenger

Apache Config
=============

Just...

<VirtualHost *:80>
   ServerName wally.local
   DocumentRoot /Users/kwe/Sites/wally/public
</VirtualHost>

Looks like Phusion Passenger looks for a script called 'passenger_wsgi.py'. Checkout the django branch for a generic 
WSGI script to run a Django app.

Basic folder layout for app is..

----------------------
Sites/wally
  |
  +-- passenger_wsgi.py
  |
  +-- public/
  |
  +-- tmp/
----------------------