rp_serve_abstract_file (private)

 rp_serve_abstract_file [ -noredirect ] [ -nodirectory ] \
    [ -extension_pattern extension_pattern ] path

Defined in packages/acs-tcl/tcl/request-processor-procs.tcl

Serves up a file given the abstract path. Raises the following exceptions in the obvious cases:

  • notfound (passes back an empty value)
  • redirect (passes back the url to which it wants to redirect)
  • directory (passes back the path of the directory)
Should not be used in .vuh files or elsewhere, instead use the public function rp_internal_redirect.

Switches:
-noredirect (optional, boolean)
-nodirectory (optional, boolean)
-extension_pattern (optional, defaults to ".*")
Parameters:
path (required)
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: