[tahoe-lafs-trac-stream] [tahoe-lafs] #1663: Add a concise table of the URL tree to webapi.rst.
tahoe-lafs
trac at tahoe-lafs.org
Sun Jan 22 01:41:14 UTC 2012
#1663: Add a concise table of the URL tree to webapi.rst.
-----------------------------+-----------------------
Reporter: nejucomo | Owner: nobody
Type: enhancement | Status: new
Priority: major | Milestone: undecided
Component: unknown | Version: 1.9.0
Resolution: | Keywords:
Launchpad Bug: |
-----------------------------+-----------------------
Comment (by nejucomo):
The URL handling path can also be modified by the {{{putChild}}} method.
A grep shows two cases of static file handling:
* In {{{allmydata.web.root.Root.__init__}}} at the end it adds all files
in the {{{static}}} resource directory to the root URL namespace. For my
repository that gives:
* {{{/d3-2.4.6.min.js}}}
* {{{/d3-2.4.6.time.min.js}}}
* {{{/download_status_timeline.js}}}
* {{{/icon.png}}}
* {{{/jquery-1.6.1.min.js}}}
* {{{/tahoe.css}}}
* In {{{allmydata.webish.WebishServer.buildServer}}} if {{{staticdir}}} is
truthy (and its default resolves to {{{~/.tahoe/public_html}}} by
default), it gets added under this subpath:
* {{{/static/}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1663#comment:3>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list