RE: DavGenericLockDB scope - what should it be?

2012-07-25 Thread Plüm , Rüdiger , Vodafone Group


> -Original Message-
> From: Graham Leggett [mailto:minf...@sharp.fm]
> Sent: Mittwoch, 25. Juli 2012 13:36
> To: dev@httpd.apache.org
> Subject: DavGenericLockDB scope - what should it be?
> 
> Hi all,
> 
> According to the docs at
> http://httpd.apache.org/docs/2.4/mod/mod_dav_lock.html#davgenericlockdb
> the scope of the DavGenericLockDB is "server config, virtual host,
> directory".
> 
> According to the source, the scope is "inside Directory or Location" as
> follows:
> 
> AP_INIT_TAKE1("DAVGenericLockDB", dav_lock_cmd_davlockdb, NULL,
> ACCESS_CONF,
>   "specify a lock database"),
> 
> Can anyone confirm which one is supposed to be correct?

For me the directive seems to work on server level as well (at least I get no 
error
on startup when using it on server level), but I don't know if the locking is 
really (still)
used by Subversion (mod_dav_svn) as I see no lock DB created.

Regards

Rüdiger


RE: DavGenericLockDB scope - what should it be?

2012-07-25 Thread Plüm , Rüdiger , Vodafone Group


> -Original Message-
> From: Plüm, Rüdiger, Vodafone Group
> Sent: Mittwoch, 25. Juli 2012 14:06
> To: dev@httpd.apache.org
> Subject: RE: DavGenericLockDB scope - what should it be?
> 
> 
> 
> > -Original Message-
> > From: Graham Leggett [mailto:minf...@sharp.fm]
> > Sent: Mittwoch, 25. Juli 2012 13:36
> > To: dev@httpd.apache.org
> > Subject: DavGenericLockDB scope - what should it be?
> >
> > Hi all,
> >
> > According to the docs at
> >
> http://httpd.apache.org/docs/2.4/mod/mod_dav_lock.html#davgenericlockdb
> > the scope of the DavGenericLockDB is "server config, virtual host,
> > directory".
> >
> > According to the source, the scope is "inside Directory or Location"
> as
> > follows:
> >
> > AP_INIT_TAKE1("DAVGenericLockDB", dav_lock_cmd_davlockdb, NULL,
> > ACCESS_CONF,
> >   "specify a lock database"),
> >
> > Can anyone confirm which one is supposed to be correct?
> 
> For me the directive seems to work on server level as well (at least I
> get no error
> on startup when using it on server level), but I don't know if the
> locking is really (still)
> used by Subversion (mod_dav_svn) as I see no lock DB created.

Answering myself. Later version of mod_dav_svn have their own locking 
implemented.

Regards

Rüdiger


Re: DavGenericLockDB scope - what should it be?

2012-07-25 Thread Greg Stein
The docs are correct. There shouldn't be any real problem with a
server-wide database.

Cheers,
-g
On Jul 25, 2012 7:36 AM, "Graham Leggett"  wrote:

> Hi all,
>
> According to the docs at
> http://httpd.apache.org/docs/2.4/mod/mod_dav_lock.html#davgenericlockdbthe 
> scope of the DavGenericLockDB is "server config, virtual host,
> directory".
>
> According to the source, the scope is "inside Directory or Location" as
> follows:
>
> AP_INIT_TAKE1("DAVGenericLockDB", dav_lock_cmd_davlockdb, NULL,
> ACCESS_CONF,
>   "specify a lock database"),
>
> Can anyone confirm which one is supposed to be correct?
>
> Regards,
> Graham
> --
>
>