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:

Partial Call Graph (max 5 caller/called nodes):
%3 rp_handle_request rp_handle_request (private) rp_serve_abstract_file rp_serve_abstract_file rp_handle_request->rp_serve_abstract_file rp_internal_redirect rp_internal_redirect (public) rp_internal_redirect->rp_serve_abstract_file ad_conn ad_conn (public) rp_serve_abstract_file->ad_conn ad_file ad_file (public) rp_serve_abstract_file->ad_file ad_raise ad_raise (public) rp_serve_abstract_file->ad_raise rp_concrete_file rp_concrete_file (private) rp_serve_abstract_file->rp_concrete_file rp_serve_concrete_file rp_serve_concrete_file (public) rp_serve_abstract_file->rp_serve_concrete_file

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