You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by "Vess A. Miller" <va...@indiana.edu> on 2006/01/22 19:02:05 UTC
mod_dav documentation error
This regards the documentation found at http://httpd.apache.org/docs/
2.2/mod/mod_dav.html involving configuration for mod_dav, the WebDAV
module for Apache 2.2.
The examples all fail to include the "Order" and "Allow from"
directives that are necessary to connect to the WebDAV, at least in
my tests.
For example, under the "Complex Configurations" section of the
documentation, the example is:
Alias /phparea /home/gstein/php_files
Alias /php-source /home/gstein/php_files
<Location /php-source>
DAV On
ForceType text/plain
</Location>
This sort of example fails to allow the dav directory to be browsed
or connected to, because the directive is missing for Order
allow,deny and Allow from All. With these directives added, webdav
works as expected:
Alias /phparea /home/gstein/php_files
Alias /php-source /home/gstein/php_files
<Location /php-source>
DAV On
ForceType text/plain
Order Allow,Deny # Added to allow
Allow from All # webdav connections
</Location>
Each example fails to include:
Order Allow, Deny
Allow from All
inside of the <Location> element. Each example should include the
Order and Allow from directives to work correctly.
--Vess
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: mod_dav documentation error
Posted by Joshua Slive <jo...@slive.ca>.
On 1/23/06, Noirin Plunkett <fi...@nerdchic.net> wrote:
> Brief patch attached - if there's no objection, I'll commit it &
> backport to 2.2.
My preference would simply be to add
Order Allow,Deny
Allow from all
to the example.
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: mod_dav documentation error
Posted by Astrid 'Kess' Keßler <ke...@kess-net.de>.
On Monday 23 January 2006 16:40, Noirin Plunkett wrote:
> On Sun, Jan 22, 2006 at 01:57:28PM -0500, Joshua Slive wrote:
> > On 1/22/06, Vess A. Miller <va...@indiana.edu> wrote:
> > > This regards the documentation found at http://httpd.apache.org/docs/
> > > 2.2/mod/mod_dav.html involving configuration for mod_dav, the WebDAV
> > > module for Apache 2.2.
> > >
> > > The examples all fail to include the "Order" and "Allow from"
> > > directives that are necessary to connect to the WebDAV, at least in
> > > my tests.
> >
> > Sure, they should probably be included. But it depends on what the
> > parent directory access state is. In 2.2 it was changed to "Deny from
> > all" in the default config, but obviously it depends on what they
> > admin does. It would probably be clearer for people who don't
> > understand the inheritance if the "Allow from all" was included. The
> > same applies to the example in conf/extra/httpd-dav.conf.
>
> Brief patch attached - if there's no objection, I'll commit it &
> backport to 2.2.
> Noirin
It sounds good. Go on :)
Kess
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: mod_dav documentation error
Posted by Noirin Plunkett <fi...@nerdchic.net>.
On Sun, Jan 22, 2006 at 01:57:28PM -0500, Joshua Slive wrote:
> On 1/22/06, Vess A. Miller <va...@indiana.edu> wrote:
> > This regards the documentation found at http://httpd.apache.org/docs/
> > 2.2/mod/mod_dav.html involving configuration for mod_dav, the WebDAV
> > module for Apache 2.2.
> >
> > The examples all fail to include the "Order" and "Allow from"
> > directives that are necessary to connect to the WebDAV, at least in
> > my tests.
>
> Sure, they should probably be included. But it depends on what the
> parent directory access state is. In 2.2 it was changed to "Deny from
> all" in the default config, but obviously it depends on what they
> admin does. It would probably be clearer for people who don't
> understand the inheritance if the "Allow from all" was included. The
> same applies to the example in conf/extra/httpd-dav.conf.
Brief patch attached - if there's no objection, I'll commit it &
backport to 2.2.
Noirin
Re: mod_dav documentation error
Posted by Joshua Slive <jo...@slive.ca>.
On 1/22/06, Vess A. Miller <va...@indiana.edu> wrote:
> This regards the documentation found at http://httpd.apache.org/docs/
> 2.2/mod/mod_dav.html involving configuration for mod_dav, the WebDAV
> module for Apache 2.2.
>
> The examples all fail to include the "Order" and "Allow from"
> directives that are necessary to connect to the WebDAV, at least in
> my tests.
Sure, they should probably be included. But it depends on what the
parent directory access state is. In 2.2 it was changed to "Deny from
all" in the default config, but obviously it depends on what they
admin does. It would probably be clearer for people who don't
understand the inheritance if the "Allow from all" was included. The
same applies to the example in conf/extra/httpd-dav.conf.
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org