On Wed, Mar 7, 2012 at 7:15 AM, Jeff Trawick <[email protected]> wrote:
> barely tested
>
seems to DTRT with this change to a test module, but more variations
of ServerRoot/DefaultRuntimeDir need to be tried; I expect that
ServerRoot must be set prior to DefaultRuntimeDir if declaring a path
relative to ServerRoot
static const char *set_flag(cmd_parms *cmd, void *dummy,
int arg)
{
+ fprintf(stderr, "my relative run-time file: >%s<\n",
+ ap_runtime_dir_relative(cmd->pool, "mod_test"));
+ fprintf(stderr, "my absolute run-time file: >%s<\n",
+ ap_runtime_dir_relative(cmd->pool, "/tmp/mod_test"));
return NULL;
}