You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2005/05/28 03:53:33 UTC

svn commit: r178852 - /perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod

Author: stas
Date: Fri May 27 18:53:32 2005
New Revision: 178852

URL: http://svn.apache.org/viewcvs?rev=178852&view=rev
Log:
note that PerlMapToStorageHandler shortcut can be implemented as:
PerlMapToStorageHandler Apache2::Const::OK

Modified:
    perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod
URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod?rev=178852&r1=178851&r2=178852&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/handlers/http.pod Fri May 27 18:53:32 2005
@@ -368,6 +368,17 @@
   }
   1;
 
+But this can be done from F<httpd.conf> too!
+
+  PerlMapToStorageHandler Apache2::Const::OK
+
+If you haven't already compiled C<Apache2::Const::OK> elsewhere, you
+should add:
+
+  <Perl>
+      use Apache2::Const -compile => qw(OK);
+  </Perl>
+
 Apache also uses this phase to handle C<TRACE> requests. So if you
 shortcut it, C<TRACE> calls will be not handled. In case you need to
 handle such, you may rewrite it as:



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org