Skip to content

Instantly share code, notes, and snippets.

@mgbckr
Last active March 15, 2021 17:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgbckr/314a134d2595c0658253591eabf774ae to your computer and use it in GitHub Desktop.
Save mgbckr/314a134d2595c0658253591eabf774ae to your computer and use it in GitHub Desktop.
How to use TiddlyWiki behind an Apache Proxy in a Sub- (folder / path / URL)

This Gist is about how to setup TiddlyWiki behind an Apache proxy in a sub- (folder / path / URL).

TiddlyWiki

When starting TiddlyWiki add a path-prefix:

tiddlywiki --listen "path-prefix=/my/path"

The alternative is using a specific tiddler, but that did not work for me for some reason.

Apache

For example:

AllowEncodedSlashes On  # important
<Location "/notes">
        ProxyPass http://localhost:8080/my/path
        ProxyPassReverse http://localhost:8080/my/path
</Location>

AllowEncodedSlashes was required for me. Did not check the consequences though. Also see here.

Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment