One way to use
TiddlyWeb with
Apache is to
mount it using the mod_python module.
mod_wsgi is a better choice, but if you have to use mod_python you can set it up as follows:
- Install mod_python for your apache server if it is not already there. Instructions on how to do this are out of scope for TiddlyWeb. See http://www.modpython.org/ for more information
- If you don't have it, get and install the ModPythonGateway according to the instructions on that page.
- 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.
Common Problems
- Make sure your apache is configured to support mod_python.
- Make sure any files paths you create or edit in the apache config are correct.
- If you are using the default text store make sure the store directory and all the files and directories within, including tiddlyweb.log, are writable by the user or group by which the web server is running. See Group Writable Text Store.
- Make sure you have set server_prefix and server_host correctly in tiddlywebconfig.py.