If you wish to run
TiddlyWeb with
Apache it is best
mounted with the mod_wsgi module. To do so:
- Install mod_wsgi for your apache server if it not already there. Instructions on how to do this are out of scope for TiddlyWeb. See http://code.google.com/p/modwsgi/ for more information.
- Get apache.py and put it in your instance directory. That file includes information in the comments on how to modify your apache configuration and your tiddlywebconfig.py.
- mod_wsgi is faster and lighter than mod_python
- mod_wsgi can run in its own daemon process that can run as a user you specify, which can avoid lots of file permission confusion
Common Problems
- Make sure any files paths you create or edit in the apache config are correct.
- Make sure you have set server_prefix and server_host correctly in tiddlywebconfig.py.
- If you wish to use the http_basic extractor with mod_wsgi you must configure WSGIPassAuthorization On in your apache config where you have configured other WSGI settings.
TiddlySpace,
TiddlyHoster and
WikiData all run on mod wsgi setups.