> From: Stas Bekman [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2003 11:07 PM
> mod_rewrite and and mod_cgid need to know when Apache restarts itself, so they > won't perform the same thing more than once. Other modules need this > functionality as well (Glen suggested macros to do that). Instead of copying > the hack around and having each module stash its data into the main server > pool, here is a new API which tells the module how many times httpd.conf was > parsed, performing this work only once. I've adjusted mod_rewrite and and > mod_cgid to use it. Feel free to suggested a better name than ap_config_read_cnt. +1 in concept. Although I must admit I fail to see the use of knowing how many times the config was parsed exactly. Knowing if it was the first time seems to be the most interesting. Sander
