22Customising Roundup
33===================
44
5- :Version: $Revision: 1.123 $
5+ :Version: $Revision: 1.124 $
66
77.. This document borrows from the ZopeBook section on ZPT. The original is at:
88 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -867,18 +867,18 @@ identifier is examined. Typical URL paths look like:
867867
8688681. ``/tracker/issue``
8698692. ``/tracker/issue1``
870- 3. ``/tracker/_file /style.css``
870+ 3. ``/tracker/@file /style.css``
8718714. ``/cgi-bin/roundup.cgi/tracker/file1``
8728725. ``/cgi-bin/roundup.cgi/tracker/file1/kitten.png``
873873
874874where the "tracker identifier" is "tracker" in the above cases. That means
875- we're looking at "issue", "issue1", "_file /style.css", "file1" and
875+ we're looking at "issue", "issue1", "@file /style.css", "file1" and
876876"file1/kitten.png" in the cases above. The path is generally only one
877877entry long - longer paths are handled differently.
878878
879879a. if there is no path, then we are in the "home" context.
880- b. if the path starts with "_file " (as in example 3,
881- "/tracker/_file /style.css"), then the additional path entry,
880+ b. if the path starts with "@file " (as in example 3,
881+ "/tracker/@file /style.css"), then the additional path entry,
882882 "style.css" specifies the filename of a static file we're to serve up
883883 from the tracker "html" directory. Raises a SendStaticFile exception.
884884c. if there is something in the path (as in example 1, "issue"), it
@@ -902,6 +902,13 @@ defaults to:
902902- full item designator supplied: "item"
903903
904904
905+ Serving static content
906+ ----------------------
907+
908+ See the previous section `determining web context`_ where it describes
909+ ``@file`` paths.
910+
911+
905912Performing actions in web requests
906913----------------------------------
907914
0 commit comments