This guide explains how to set up TiddlyWeb using Apache on a fresh CentOS 5 install behind a corporate firewall.

System Setup


(this assumes root access; commands might have to be wrapped in su -c '...')

TiddlyWeb Setup


Sample Configuration


(using instance "sandbox" at http://0.0.0.0:80/wiki/ under UNIX user tiddlyweb; if available, a hostname should be used instead of the IP)
config = {
    'secret': '<hash>',
    'server_host': {
        'scheme': 'http',
        'host': '0.0.0.0',
        'port': '80'
    },
    'server_prefix': '/wiki'
}

<VirtualHost *:80>
    DocumentRoot /srv/tiddlyweb/sandbox/public
    ServerName 0.0.0.0
    RedirectMatch ^/$ /wiki/
    WSGIDaemonProcess sandbox_wiki user=tiddlyweb processes=2 threads=15
    WSGIProcessGroup sandbox_wiki
    WSGIScriptAlias /wiki /srv/tiddlyweb/sandbox/apache.py
</VirtualHost>