IntroductionIntroduction
  CGI and SSICGI and SSI
  <pike> tag<pike> tag
  Pike scriptPike script
  ModulesModules
  Parser modulesParser modules
  Location modulesLocation modules
    <find_dir()>find_dir()<find_dir()>find_dir()
    <find_file()>find_file()<find_file()>find_file()
    <query_location()>query_location()<query_location()>query_location()
    <real_file()>real_file()<real_file()>real_file()
    <stat_file()>stat_file()<stat_file()>stat_file()
  Other module typesOther module types
  Request information objectRequest information object
  ResponsesResponses
  Library methodsLibrary methods
 
real_file()

void|string real_file(string path, object id)

The real_file() method translates the path of a file in the modules name space to the path to the file in the real file system. path is the path to the file in the modules name space. id is the request information object.

If the file could not be found, or the file doesn't exist on a real file system, zero should be returned. Only location modules that access server files from a real file system need implement this method.