Changes between Version 30 and Version 31 of ModParrotHLLDocs

Show
Ignore:
Timestamp:
12/25/08 22:41:41 (6 years ago)
Author:
jhorwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModParrotHLLDocs

    v30 v31  
    308308||{{{pchild}}}||the child pool as an {{{ModParrot;Apache;Pool}}} object|| 
    309309 
     310=== Retrieving Configurations === 
     311 
     312No configuration information is passed directly to metahandlers, so they should use {{{ModParrot;Apache;get_config}}} to retrieve configuration structures. 
     313 
     314To retrieve a server configuration: 
     315 
     316{{{ 
     317.local pmc cfg, get_config 
     318get_config = get_root_global ['ModParrot';'Apache'], 'get_config' 
     319cfg = get_config("my_module_name") 
     320}}} 
     321 
     322To retrieve a directory configuration, use the {{{per_dir_config}}} method of {{{ModParrot;Apache;RequestRec}}}: 
     323 
     324{{{ 
     325.local pmc dircfg, get_config, per_dir_config 
     326get_config = get_root_global ['ModParrot';'Apache'], 'get_config' 
     327per_dir_config = r.'per_dir_config'() 
     328dircfg = get_config("my_module_name", per_dir_config) 
     329}}} 
     330 
    310331=== Capturing Output === 
    311332