You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2007/12/31 12:28:25 UTC
Unless I'm terribly confused
<Limit GET POST OPTIONS>
</Limit>
<LimitExcept GET POST OPTIONS>
</LimitExcept>
is a useless section.
Unfortunately, you can't have clashing (multiple) Limit's (or LimitExcepts)
in the context of a single directory. (Of course Limit is so broken in
such respects that it needs to be redone from the ground up).
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
should actually have been
<Directory "/home">
Order deny,allow
Deny from all
</Directory>
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
</Directory>
which in effect denies all others by not overriding for other methods.
Right? Or have I lost my mind altogether?
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by dhickox <dh...@cox.net>.
Hy,I do know if you are talking about me,not responding but Iwas unable the
"ant"with licences crash the computer and all 4000 emails where gone,
----- Original Message -----
From: "William A. Rowe, Jr." <wr...@rowe-clan.net>
To: <do...@httpd.apache.org>
Sent: Monday, March 10, 2008 10:36 PM
Subject: Re: Unless I'm terribly confused
> Vincent Bray wrote:
> > On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> >> <Limit GET POST OPTIONS>
> >> </Limit>
> >> <LimitExcept GET POST OPTIONS>
> >> </LimitExcept>
> >>
> >> is a useless section.
> >
> > Hi Bill,
> > Obviously this post is ancient but its been bothering me since you
posted it.
> >
> > I can't see any instances of Limit and LimitExcept combined in the
> > manual (for trunk).
>
> Thank goodness!
>
> > That's from here presumably:
> >
> >
http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/docs/conf/extra/h
ttpd-userdir.conf.in
> >
> > I don't know if I've the bits required to commit to that directory but
> > in any case I don't feel comfortable doing so. Is this still an issue,
> > then?
>
> Yes - it still seems like an issue to me. I see lots of abuse of this
> style of coding. It's one bit-flag in a directory section, and that
> bit-flag only modifies the require/order/satisfy directives - really
> rather bogus.
>
> Bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Vincent Bray wrote:
> On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>> <Limit GET POST OPTIONS>
>> </Limit>
>> <LimitExcept GET POST OPTIONS>
>> </LimitExcept>
>>
>> is a useless section.
>
> Hi Bill,
> Obviously this post is ancient but its been bothering me since you posted it.
>
> I can't see any instances of Limit and LimitExcept combined in the
> manual (for trunk).
Thank goodness!
> That's from here presumably:
>
> http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-userdir.conf.in
>
> I don't know if I've the bits required to commit to that directory but
> in any case I don't feel comfortable doing so. Is this still an issue,
> then?
Yes - it still seems like an issue to me. I see lots of abuse of this
style of coding. It's one bit-flag in a directory section, and that
bit-flag only modifies the require/order/satisfy directives - really
rather bogus.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Roy T. Fielding wrote:
>> On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>>> Unfortunately, you can't have clashing (multiple) Limit's (or
>>> LimitExcepts)
>>> in the context of a single directory. (Of course Limit is so broken in
>>> such respects that it needs to be redone from the ground up).
>
> Why not? That was certainly the intention when I added it.
I just checked 1.3's ap_limit_section, the functionality to create
a dir-section is definitely not present. Two limit blocks in the
same location/directory will just clash with one another.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Roy T. Fielding wrote:
>> On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>>> Unfortunately, you can't have clashing (multiple) Limit's (or
>>> LimitExcepts)
>>> in the context of a single directory. (Of course Limit is so broken in
>>> such respects that it needs to be redone from the ground up).
>
> Why not? That was certainly the intention when I added it.
Unless they entirely create a dir-section, it isn't going to work. Just
pondering it - I'll research.
But the way it's coded, there's nothing but the bit flag (previously
the string list) in the dir section, and AFAICT, there is no code in
there which actually creates a dir-section per <limit> artifact. The
<Limit> artifact is only observed by specific directives.
Re-investigating, this is now from 15 mos old memory...
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by "Roy T. Fielding" <fi...@gbiv.com>.
> On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
>> Unfortunately, you can't have clashing (multiple) Limit's (or
>> LimitExcepts)
>> in the context of a single directory. (Of course Limit is so
>> broken in
>> such respects that it needs to be redone from the ground up).
Why not? That was certainly the intention when I added it.
....Roy
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Unless I'm terribly confused
Posted by Vincent Bray <no...@gmail.com>.
On 31/12/2007, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> <Limit GET POST OPTIONS>
> </Limit>
> <LimitExcept GET POST OPTIONS>
> </LimitExcept>
>
> is a useless section.
Hi Bill,
Obviously this post is ancient but its been bothering me since you posted it.
I can't see any instances of Limit and LimitExcept combined in the
manual (for trunk).
> Unfortunately, you can't have clashing (multiple) Limit's (or LimitExcepts)
> in the context of a single directory. (Of course Limit is so broken in
> such respects that it needs to be redone from the ground up).
>
> <Directory "/home/*/public_html">
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS>
> Order allow,deny
> Allow from all
> </Limit>
> <LimitExcept GET POST OPTIONS>
> Order deny,allow
> Deny from all
> </LimitExcept>
> </Directory>
>
> should actually have been
>
> <Directory "/home">
> Order deny,allow
> Deny from all
> </Directory>
>
> <Directory "/home/*/public_html">
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS>
> Order allow,deny
> Allow from all
> </Limit>
> </Directory>
>
> which in effect denies all others by not overriding for other methods.
That's from here presumably:
http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-userdir.conf.in
I don't know if I've the bits required to commit to that directory but
in any case I don't feel comfortable doing so. Is this still an issue,
then?
--
noodl
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org