You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Yann Ylavic <yl...@gmail.com> on 2016/02/29 12:25:39 UTC
Re: example in mod_dav documentation
Hello Petr,
you should probably not email me directly to get better/contradictory answers...
On Mon, Feb 29, 2016 at 11:52 AM, Petr Gajdos <pg...@suse.cz> wrote:
> Hello Yann,
>
> I am not completely sure if the 'Full Example' in
> https://httpd.apache.org/docs/trunk/mod/mod_dav.html
> is 100% correct. Should not the two Require directives be wrapped by
> <RequireAll> container as long as <RequireAny> seems to be the
> default?
You may be right, someone more qualified than me on this should answer
now that the relevant list is CCed.
>
> In general -- what is the correct way to get doc improved? Write a
> comment below the manual?
As I did here, the best way is IMO to ask (and subscribe) on the
docs@httpd.apache.org mailing list, which is quite active.
Regards,
Yann.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: example in mod_dav documentation
Posted by Eric Covener <co...@gmail.com>.
On Mon, Feb 29, 2016 at 6:25 AM, Yann Ylavic <yl...@gmail.com> wrote:
>
>> I am not completely sure if the 'Full Example' in
>> https://httpd.apache.org/docs/trunk/mod/mod_dav.html
>> is 100% correct. Should not the two Require directives be wrapped by
>> <RequireAll> container as long as <RequireAny> seems to be the
>> default?
I think that fix is incompatible with using <LimitExcept. I think the
compatible fix is ditching Limit/LimitExcept
In the 2.4 example, or moving the "require all granted" to a new
<Limit> that has the same arguments.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: example in mod_dav documentation
Posted by Eric Covener <co...@gmail.com>.
On Mon, Feb 29, 2016 at 9:53 AM, Rich Bowen <rb...@rcbowen.com> wrote:
> That example predates the <requireall> directive, so, yeah, there's a good
> chance it's wrong. Did you try it?
IIUC this should behave the same as 2.2 without any extra config
sections. The LimitExcpet is a new config section and is not merged
but replaces the "require all granted".
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: example in mod_dav documentation
Posted by Rich Bowen <rb...@rcbowen.com>.
It is required, because you don't know what else is in the global
configuration outside this example, so it's good to be explicit.
On Mar 3, 2016 3:06 AM, "Petr Gajdos" <pg...@suse.cz> wrote:
> On Mon, Feb 29, 2016 at 09:53:33AM -0500, Rich Bowen wrote:
> > That example predates the <requireall> directive, so, yeah, there's a
> good
> > chance it's wrong. Did you try it?
>
> Yes, see the test flow attached.
>
> So in case <RequireAll> is missing, file can be created by everyone,
> even if this should be forbidden if I understand correctly what the
> example should show. In the 2.2 doc, the Satisfy all is not needed
> as it is the default, isn't it?
>
> Petr
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>
Re: example in mod_dav documentation
Posted by Petr Gajdos <pg...@suse.cz>.
On Mon, Feb 29, 2016 at 09:53:33AM -0500, Rich Bowen wrote:
> That example predates the <requireall> directive, so, yeah, there's a good
> chance it's wrong. Did you try it?
Yes, see the test flow attached.
So in case <RequireAll> is missing, file can be created by everyone,
even if this should be forbidden if I understand correctly what the
example should show. In the 2.2 doc, the Satisfy all is not needed
as it is the default, isn't it?
Petr
Re: example in mod_dav documentation
Posted by Rich Bowen <rb...@rcbowen.com>.
That example predates the <requireall> directive, so, yeah, there's a good
chance it's wrong. Did you try it?
On Feb 29, 2016 06:25, "Yann Ylavic" <yl...@gmail.com> wrote:
> Hello Petr,
>
> you should probably not email me directly to get better/contradictory
> answers...
>
> On Mon, Feb 29, 2016 at 11:52 AM, Petr Gajdos <pg...@suse.cz> wrote:
> > Hello Yann,
> >
> > I am not completely sure if the 'Full Example' in
> > https://httpd.apache.org/docs/trunk/mod/mod_dav.html
> > is 100% correct. Should not the two Require directives be wrapped by
> > <RequireAll> container as long as <RequireAny> seems to be the
> > default?
>
> You may be right, someone more qualified than me on this should answer
> now that the relevant list is CCed.
>
> >
> > In general -- what is the correct way to get doc improved? Write a
> > comment below the manual?
>
> As I did here, the best way is IMO to ask (and subscribe) on the
> docs@httpd.apache.org mailing list, which is quite active.
>
> Regards,
> Yann.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>
>