Functions run when configuration file is read

2008-04-08 Thread Andy Grant
I am writing a module that runs certain functions depending on the configuration directives in the conf files. The functions are run twice when the server is started and again when the server shuts down. Is there a way to make the functions run only once? Maybe some variable that can be chec

Re: Functions run when configuration file is read

2008-04-08 Thread Andy Grant
] On 04/08/2008 01:44:35 PM, Andy Grant wrote: I am writing a module that runs certain functions depending on the configuration directives in the conf files. The functions are run twice when the server is started and again when the server shuts down. Is there a way to make the functions run o

Module reload of configuration files

2008-04-21 Thread Andy Grant
Is there a function or a way for a module to trigger a reloading of the configuration files? I know on some systems there is the 'apache2ctl force-reload' command, but I want to have the module trigger to reload, and not by just issuing a system command calling apache2ctl. Thanks.

Re: Module reload of configuration files

2008-04-21 Thread Andy Grant
So if I had a config file such as my_module.conf in the mods-enabled dir, I'd be able to re-read that configuration file? I'm not familiar with the "SQL-based vhosting modules", could you be more specific? Thank you. Nick Kew wrote: On 21 Apr 2008, at 17:20, Andy Gra

enable override (allow htaccess use)

2008-06-10 Thread Andy Grant
How do you enable/disable the use of your directives in htaccess files? I've read about context and overrides, but can't find them in reference to developing a module, just in reference to using them (i.e. AllowOverride FileInfo). Thanks.