6.1 aspen.mod_wsgi

You can serve an Aspen website using the mod_wsgi extension module for Apache via the aspen.mod_wsgi script. Since the same Aspen website can be served by the main aspen program as by mod_wsgi, this gives you a compelling development/deployment scenario.

To use mod_wsgi with Aspen, add the following two directives to your httpd.conf:

WSGIScriptAlias / "\path\to\aspen.mod_wsgi"
SetEnv aspen.root "\path\to\website-root"

See Also:

mod_wsgi
The mod_wsgi Apache extension module

Aspen is copyright © 2006-2007 by Chad Whitacre and contributors, and is offered under the MIT license.