You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2006/07/23 23:17:24 UTC

Re: svn commit: r424817 - /httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in

@@ServerRoot@@ doesn't guarantee that either :-/  grrr - please don't
start commit wars by reverting without some small post to discuss?



slive@apache.org wrote:
> Author: slive
> Date: Sun Jul 23 14:00:58 2006
> New Revision: 424817
> 
> URL: http://svn.apache.org/viewvc?rev=424817&view=rev
> Log:
> Backout r368027 because DavLockDB needs to point to an httpd-writable
> directory and @exp_runtimedir@ doesn't qualify.  Also document a
> missing module requirement.
> 
> Modified:
>     httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
> 
> Modified: httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in?rev=424817&r1=424816&r2=424817&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in (original)
> +++ httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in Sun Jul 23 14:00:58 2006
> @@ -2,7 +2,7 @@
>  # Distributed authoring and versioning (WebDAV)
>  #
>  # Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
> -#                   mod_auth_digest, mod_authn_file
> +#                   mod_auth_digest, mod_authn_file, mod_authz_user
>  #
>  
>  # The following example gives DAV write access to a directory called
> @@ -12,7 +12,7 @@
>  # on the directory where the DavLockDB is placed and on any directory where
>  # "Dav On" is specified.
>  
> -DavLockDB "@exp_runtimedir@/DavLock"
> +DavLockDB "@@ServerRoot@@/DavLock"
>  
>  Alias /uploads "@@ServerRoot@@/uploads"
>  
> 
> 
> 
> .
> 


Re: svn commit: r424817 - /httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in

Posted by Joshua Slive <jo...@slive.ca>.
On 7/23/06, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> @@ServerRoot@@ doesn't guarantee that either :-/  grrr - please don't
> start commit wars by reverting without some small post to discuss?

Here's the reply I sent to your original commit (msgid
<e4...@mail.gmail.com>).  I
didn't receive a response.  (But that does remind me that I didn't
revert it properly.  Need to put back the "var" part.)

I believe the issue here is that exp_runtimedir is writable only by
root, while DavLockDB needs to be writable by child processes.  I
tried to introduce the "var" directory in the docs as an example of a
child-writable directory, and have tried to use it consistently as
such.  I consider the stuff in conf/extra to be essentially
documentation, not necessarily working configurations.

Joshua.