You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rici Lake <ri...@ricilake.net> on 2004/09/01 15:56:58 UTC
[mp2] Re: Using Apache Directives
On 1-Sep-04, at 3:57 AM, M.v.Buytene wrote:
> Limit => {
> METHODS => 'GET POST',
> require => 'valid-user',
> Order => 'allow,deny',
> Allow => 'from all',
> },
Apparently, the documentation is wrong (which is why I
ended up fixing mod_info and creating the mod_info/mod_perl
patch I announced a couple of days ago.
The following works:
Limit => {
'GET POST' => {
require => 'valid-user',
Order => 'allow,deny',
Allow => 'from all',
},
}
---------
Rici
Apache hacks at: <http://rici.ricilake.net/src>
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: [mp2] Re: Using Apache Directives
Posted by Stas Bekman <st...@stason.org>.
Rici Lake wrote:
> On 1-Sep-04, at 3:57 AM, M.v.Buytene wrote:
>
>> Limit => {
>> METHODS => 'GET POST',
>> require => 'valid-user',
>> Order => 'allow,deny',
>> Allow => 'from all',
>> },
>
>
>
> Apparently, the documentation is wrong (which is why I
> ended up fixing mod_info and creating the mod_info/mod_perl
> patch I announced a couple of days ago.
>
> The following works:
>
> Limit => {
> 'GET POST' => {
> require => 'valid-user',
> Order => 'allow,deny',
> Allow => 'from all',
> },
> }
Thanks, Rici, I've fixed the doc.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html