mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
9eec6ff915
Addressing @OblivionSY's comment https://github.com/Jermolene/TiddlyWiki5/issues/4898#issuecomment-717207456
20 lines
798 B
Plaintext
20 lines
798 B
Plaintext
caption: path-prefix
|
|
created: 20180630180514893
|
|
modified: 20201027122943281
|
|
tags: [[WebServer Parameters]]
|
|
title: WebServer Parameter: path-prefix
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The [[web server configuration parameter|WebServer Parameters]] ''path-prefix'' can be used to set an optional prefix for all paths served.
|
|
|
|
This example causes the server to serve from http://127.0.0.1/MyApp instead of the default http://127.0.0.1/.
|
|
|
|
```
|
|
tiddlywiki mywikifolder --listen "path-prefix=/MyApp"
|
|
```
|
|
|
|
Notes:
|
|
|
|
* Further steps are required to configure the client-side components to use the prefix. See [[Using a custom path prefix with the client-server edition]]
|
|
* If no path prefix is required then the `path-prefix` parameter should be omitted or set to the empty string, and not to `\` as might be expected
|