Thanks,Daniel
I am new to module development but I want to develop a module so I can
manage the uri of the thousand of sites more efficiently. What I want is to
load a mysql table data into the memory of Apache server at its startup
stage for fast processing of requests later. Mysql database access
information will be set with configuration directives. My question is:
1. Is ap_hook_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t
*ptemp, server_rec *s) the right place to load the table?
2. If it is, how can the hook functions access the data after it is loaded
presumably in apr_pool_t *p?
- load data at server startup - is ap_hook_post_config() the ... Danie Qian
- Re: load data at server startup - is ap_hook_post_conf... Nick Kew
- Re: load data at server startup - is ap_hook_post_... Danie Qian
- Re: load data at server startup - is ap_hook_p... Dumindu Perera
- Re: load data at server startup - is ap_ho... David Wortham
- Re: load data at server startup - is ... Danie Qian
- Re: load data at server startup -... David Wortham
- Re: load data at server start... Danie Qian
- Re: load data at server start... David Wortham
- Re: load data at server startup - is ap_hook_post_conf... Joachim Zobel
