New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache mod_wsgi documentation #67

wildintellect opened this Issue Jun 4, 2012 · 0 comments


None yet
1 participant

wildintellect commented Jun 4, 2012

There's no example for mod_wsgi in the docs

Create a file: stash.wsgi on a path apache can read

import os, TileStache
application = TileStache.WSGITileServer('/full/path/to/tiles.cfg')

Add WSGI to apache

edit /etc/apache2/sites-available/defaults

WSGIScriptAlias /tilestache /var/www/wsgi/tilestache.wsgi

Install apache mod_wsgi

example on debian/ubuntu:

  sudo apt-get install libapache2-mod-wsgi
  sudo a2enmod wsgi
  sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment