Resolved: (MODPYTHON-89) Add new apache.exists_config_define() function.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Resolved: (MODPYTHON-89) Add new apache.exists_config_define() function.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-12-05 10: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 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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register