11-12-05 10:46 PM
[ http://issues.apache.org/jira/brows...2357
495 ]
Nicolas Lehuen commented on MODPYTHON-89:
-----------------------------------------
Added some documentation to modpython4.tex.
> Add new apache.exists_config_define() function.
> -----------------------------------------------
>
> Key: MODPYTHON-89
> URL: http://issues.apache.org/jira/browse/MODPYTHON-89
> Project: mod_python
> Type: Improvement
> Components: core
> Versions: 3.3
> Reporter: Graham Dumpleton
> Assignee: Nicolas Lehuen
> Priority: Minor
> Fix For: 3.2
>
> Add new function:
> apache.exists_config_define()
> The intent is that this function would wrap the underlying Apache function
:
> ap_exists_config_define()
> This function allows one to determine if certain Apache command line optio
ns were used. For example, if the '-DONE_PROCESS' command line option was us
ed in explicitly starting "httpd".
> if apache.exists_config_define("ONE_PROCESS"): ... do something
> Exposing of this function would provide equivalent functionality to the "I
fDefine" directive available in Apache configuration files.
> The availability of this option would allow special debugging code to consult whet
her Apache is run in one process mode and thus determine whether the debugging code
should be able to be run in the first place. Eg. pdb support.
[ Post a follow-up to this message ]
|