TiddlyWiki5/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ path-p...

16 lines
656 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/MyApp.
```
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]].