You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Graham Dumpleton (JIRA)" <ji...@apache.org> on 2006/03/05 06:50:45 UTC

[jira] Closed: (MODPYTHON-89) Add new apache.exists_config_define() function.

     [ http://issues.apache.org/jira/browse/MODPYTHON-89?page=all ]
     
Graham Dumpleton closed MODPYTHON-89:
-------------------------------------


> 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.7

>
> 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 options were used. For example, if the '-DONE_PROCESS' command line option was used in explicitly starting "httpd".
>   if apache.exists_config_define("ONE_PROCESS"): ... do something
> Exposing of this function would provide equivalent functionality to the "IfDefine" directive available in Apache configuration files.
> The availability of this option would allow special debugging code to consult whether 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira