stas 02/04/14 00:51:15
Modified: src/docs/1.0/guide performance.pod
Log:
s/Apache::OK/Apache::Constants::OK/ so it'll work in 1.x
Revision Changes Path
1.9 +6 -3 modperl-docs/src/docs/1.0/guide/performance.pod
Index: performance.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/performance.pod,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- performance.pod 4 Apr 2002 02:24:27 -0000 1.8
+++ performance.pod 14 Apr 2002 07:51:14 -0000 1.9
@@ -3421,9 +3421,10 @@
documents, you can override the default C<PerlTransHandler> with this
one:
+ PerlModule Apache::Constants
<VirtualHost 10.10.10.10:80>
...
- PerlTransHandler Apache::OK
+ PerlTransHandler Apache::Constants::OK
...
</VirtualHost>
@@ -3510,7 +3511,8 @@
Let's remove the last C<Alias> setting and use:
- PerlTransHandler Apache::OK
+ PerlModule Apache::Constants
+ PerlTransHandler Apache::Constants::OK
as explained above. When we issue the request, we see no stat()
calls. But this is possible only if you serve only dynamically
@@ -3522,7 +3524,8 @@
I<PerlTransHandler> otherwise:
PerlTransHandler 'sub { return shift->uri() =~ m|^/foo| \
- ? Apache::OK : Apache::DECLINED;}'
+ ? Apache::Constants::OK \
+ : Apache::Constants::DECLINED; }'
Let's see the same configuration using the C<E<lt>PerlE<gt>> section and a
dedicated package:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]