Lines Matching refs:path
49 * or at a later stage, when the doc-root is known and the physical-path is already setup
52 the 2nd stage where the physical-path which relates to your request is known. At this level you
53 can run checks against lighty.env["physical.path"].
58 magnet.attract-physical-path-to = ( ... )
88 Later in the request-handling, the URL is split, cleaned up and turned into a physical path name:
92 * lighty.env["uri.path"] = "/search.php"
93 * lighty.env["uri.path-raw"] = "/search.php"
100 * lighty.env["physical.path"] = "/my-docroot/search.php"
101 * lighty.env["physical.rel-path"] = "/search.php"
112 -- 2. changing the physical-path
113 lighty.env["physical.path"] = ...
143 * filename = "<absolute-path>" is required
187 magnet.attract-physical-path-to = server.docroot + "/readme.lua"
204 magnet.attract-physical-path-to = server.docroot + "/maintenance.lua"
223 magnet.attract-physical-path-to = server.docroot + "/flv-streaming.lua"
239 { filename = lighty.env["physical.path"], offset = get["start"] } }
261 magnet.attract-physical-path-to = "random.lua"
265 dir = lighty.env["physical.path"]
310 content if the requested file doesn't exist, you can attract the physical.path: ::
312 magnet.attract-physical-path-to = ( server.document-root + "/rewrite.lua" )
318 attr = lfs.attributes(lighty.env["physical.path"])
324 lighty.env["uri.path"] = "/dispatch.fcgi"
325 lighty.env["physical.rel-path"] = lighty.env["uri.path"]
326 lighty.env["physical.path"] = lighty.env["physical.doc-root"] .. lighty.env["physical.rel-path"]
413 content = { { filename = "/path/to/file1" }, { filename = "/path/to/file2"} }