On 1/19/06, Greg Humphreys <[EMAIL PROTECTED]> wrote:
> What I was looking for was actual step by step instructions on
> deployment.

1. Put the following lines in your prodcfg.py:
path("/")
baseUrlFilter.on = True
baseUrlFilter.useXForwardedHost = True
2. In your app directory 'python setup.py bdist_egg' to create an
installable egg file.
3. Copy the egg to your server and easy_install your_app_name
4. Create an apache virtual host containing the following rules:
    RewriteEngine on
    RewriteRule ^(.*) http://127.0.0.1:8000$1 [P]
5. Restart apache

There are other things you can optionally do and caveats, but the
above should work just fine. I'm not 100% sure on the syntax of the
first step, I've only deployed using the old .cfg format.

Reply via email to