You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dorian Taylor <do...@foobarsystems.com> on 2005/05/22 05:29:03 UTC

[mp2] OR_EXEC_ON_READ

did this go away? i can't find any mention of it in the source other
than the documentation and core module logic. i'm currently playing
with making a container configuration, and the documentation says
to set OR_EXEC_ON_READ on the req_override, but it doesn't appear
to be present in Apache2::Const. bizarre.

.dorian

Re: [mp2] OR_EXEC_ON_READ

Posted by Stas Bekman <st...@stason.org>.
Dorian Taylor wrote:
> did this go away? i can't find any mention of it in the source other
> than the documentation and core module logic. i'm currently playing
> with making a container configuration, and the documentation says
> to set OR_EXEC_ON_READ on the req_override, but it doesn't appear
> to be present in Apache2::Const. bizarre.

Hmm, I guess it was the case of overdocumenting :) The doc exists but not 
the code. Try this patch:

Index: xs/tables/current/Apache2/ConstantsTable.pm
===================================================================
--- xs/tables/current/Apache2/ConstantsTable.pm	(revision 171124)
+++ xs/tables/current/Apache2/ConstantsTable.pm	(working copy)
@@ -1,8 +1,8 @@
  package Apache2::ConstantsTable;

  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# ! WARNING: generated by Apache::ParseSource/0.02
-# !          Fri Dec 10 13:39:12 2004
+# ! WARNING: generated by Apache2::ParseSource/0.02
+# !          Mon May 23 14:15:32 2005
  # !          do NOT edit, any changes will be lost !
  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@@ -42,6 +42,7 @@
        'OR_UNSET',
        'ACCESS_CONF',
        'RSRC_CONF',
+      'EXEC_ON_READ',
        'OR_ALL'
      ],
      'options' => [
Index: lib/Apache2/ParseSource.pm
===================================================================
--- lib/Apache2/ParseSource.pm	(revision 171124)
+++ lib/Apache2/ParseSource.pm	(working copy)
@@ -236,7 +236,7 @@
          methods    => [qw{M_ METHODS}],
          mpmq       => [qw{AP_MPMQ_}],
          options    => [qw{OPT_}],
-        override   => [qw{OR_ ACCESS_CONF RSRC_CONF}],
+        override   => [qw{OR_ EXEC_ON_READ ACCESS_CONF RSRC_CONF}],
          platform   => [qw{CRLF CR LF}],
          remotehost => [qw{REMOTE_}],
          satisfy    => [qw{SATISFY_}],

Please notice that it's Apache2::Const::EXEC_ON_READ (no OR_ prefix, as 
the docs say)




-- 
__________________________________________________________________
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