Apache Mod-Python - Resolved: (MODPYTHON-89) Add new apache.exists_config_define() function.

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > November 2005 > Resolved: (MODPYTHON-89) Add new apache.exists_config_define() function.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Resolved: (MODPYTHON-89) Add new apache.exists_config_define() function.
Nicolas Lehuen (JIRA)

2005-11-12, 5:46 pm

[ http://issues.apache.org/jira/brows...HON-89?page=all ]

Nicolas Lehuen resolved MODPYTHON-89:
-------------------------------------

Fix Version: 3.2
Resolution: Fixed
Assign To: Nicolas Lehuen

I've added the function and a test case.

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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com