Updated: (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 > Updated: (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      

    Updated: (MODPYTHON-89) Add new apache.exists_config_define() function.  
Graham Dumpleton (JIRA)


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


 
11-11-05 07:46 AM

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

Graham Dumpleton updated MODPYTHON-89:
--------------------------------------

Description:
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 "IfD
efine" directive available in Apache configuration files.

The availability of this option would allow special debugging code to consul
t whether Apache is run in one process mode and thus determine whether the d
ebugging code should be able to be run in the first place. Eg. pdb support.

was:
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.ap_exists_config_define("ONE_PROCESS"): ... do something

Exposing of this function would provide equivalent functionality to the "IfD
efine" directive available in Apache configuration files.

The availability of this option would allow special debugging code to consul
t whether Apache is run in one process mode and thus determine whether the d
ebugging code should be able to be run in the first place. Eg. pdb support.


> 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
>     Priority: Minor

>
> 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 03:49 PM.      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