Lines Matching refs:physical

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:
100 * lighty.env["physical.path"] = "/my-docroot/search.php"
101 * lighty.env["physical.rel-path"] = "/search.php"
102 * lighty.env["physical.doc-root"] = "/my-docroot"
112 -- 2. changing the physical-path
113 lighty.env["physical.path"] = ...
187 magnet.attract-physical-path-to = server.docroot + "/readme.lua"
204 magnet.attract-physical-path-to = server.docroot + "/maintenance.lua"
210 if (nil == lfs.attributes(lighty.env["physical.doc-root"] .. "/maintenance.html")) then
211 lighty.content = ( lighty.env["physical.doc-root"] .. "/maintenance.html" )
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"])
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"]