1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-01 05:49:55 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ path-prefix.tid
2020-04-14 17:47:46 +01:00

16 lines
651 B
Plaintext

caption: path-prefix
created: 20180630180514893
modified: 20200311171847360
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"
```
Note that 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]].