About Download Docs Changes

Possibility to run behind proxy

The ability to specify a baseurl for link generation would be a first step in this direction.

This is easily done using WSGI middleware. For exmaple:

import hatta

config = hatta.WikiConfig()
wiki = hatta.Wiki(config)

def application(env, start):
    env['HTTP_HOST'] = 'example.com'
    env['SCRIPT_NAME'] = ''
    return wiki.application(env, start)

– Radomir Dopieralski