Best practice for setting up wsgi on root directory?
Posted
by Timmy
on Stack Overflow
See other posts from Stack Overflow
or by Timmy
Published on 2010-04-12T05:03:00Z
Indexed on
2010/04/12
5:13 UTC
Read the original article
Hit count: 273
what's the best ways to mix static files and wsgi app served on the root directory?
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
recommends setting up
WSGIScriptAlias / /usr/local/www/wsgi-scripts/myapp.wsgi
and alias other directories and files:
Alias /robots.txt /usr/local/www/documents/robots.txt
Alias /favicon.ico /usr/local/www/documents/favicon.ico
Alias /media/ /usr/local/www/documents/media/
is there a cleaner way to do this?
© Stack Overflow or respective owner