http://svn.apache.org/viewvc?rev=1297560&view=rev

On Mar 6, 2012, at 10:39 AM, Jeff Trawick wrote:

> On Tue, Mar 6, 2012 at 10:33 AM, Jim Jagielski <j...@jagunet.com> wrote:
>> Yeah, that seems better, ala ./modules/cache/mod_socache_dbm.c
> 
> On behalf of anyone else reading this thread, here's the idiom from
> mod_socache_dbm.c:
> 
> #define DEFAULT_DBM_PREFIX DEFAULT_REL_RUNTIMEDIR "/socache-dbm-"
> ...
>       const char *path = apr_pstrcat(p, DEFAULT_DBM_PREFIX, namespace,
>                                       NULL);
> 
>        ctx->data_file = ap_server_root_relative(p, path);
> 
> 
>> 
>> On Mar 6, 2012, at 8:36 AM, Jeff Trawick wrote:
>> 
>>> On Tue, Mar 6, 2012 at 7:56 AM, Jim Jagielski <j...@jagunet.com> wrote:
>>>> OK... What I'll do is add a directive which provides a
>>>> "default" location for slotmem file...
>>> 
>>> Uhh, that seems as endless as per-mutex directives.
>>> 
>>> Is slotmem not using DEFAULT_REL_RUNTIMEDIR already?  (not perfect,
>>> but a good start)
>>> Directive to specify runtime directory (API returns serverroot +
>>> DEFAULT_REL_RUNTIMEDIR if not configured).
>>> Directive like Mutex but for shmem?
>>> 
>> 
> 
> 
> 
> -- 
> Born in Roswell... married an alien...
> 

Reply via email to