Mercurial > libervia-web
view .hgtags @ 875:d9b98b8a1847
server: handling of dict and "file:" urls in url_redirections_dict:
- file: urls can be specified, they can redirect to a directory or of file. In the case of directory, all the hierarchy with subdirectories will be available
- a dict can be used instead of plain string url, to specify options
- if a dict is used, either "url" or "path" must be specified. "url" has the same meaning as the plain string url, "path" is used to construct a file: url
- for file: redirections, there is a "protected" option which can be specified in the dict (JSON boolean). If true (default) the directories listings will not be displayed.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 02 Mar 2016 17:14:02 +0100 |
parents | b993ff0fd02d |
children | f794b1c17485 |
line wrap: on
line source
12e889a683ce07bfdb66ca3952c93fd97329d70c SàT v0.2.0 732ed69ffe11a5116dc9f8e0b084d47cc3f5a658 SàT v0.3.0 f2c380af7304d65703cf2f88882d08b4236fd36e SàT v0.4.0 ff03fdb5215d31e65123da6646589f9393fcd929 SàT v0.5.0 9b217e14fc6a515902a66f719f3131250e83ea56 SàT v0.5.1 0af8a88ef6cd67563075f9daf2a66c4ce98c8443 0.6.0