stas 2002/08/30 11:26:00 Modified: src/docs/2.0/user/handlers handlers.pod Log: - markup fix - a few extra explanations Revision Changes Path 1.19 +16 -1 modperl-docs/src/docs/2.0/user/handlers/handlers.pod Index: handlers.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/handlers.pod,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- handlers.pod 30 Aug 2002 18:08:12 -0000 1.18 +++ handlers.pod 30 Aug 2002 18:26:00 -0000 1.19 @@ -1720,7 +1720,7 @@ Let's write a simple response handler, that just generates some content. This time let's do something more interesting than printing -I<Hello world". Let's write a handler that prints itself: +I<"Hello world">. Let's write a handler that prints itself: file:MyApache/Deparse.pm ------------------------ @@ -1854,6 +1854,21 @@ Options +ExecCGI </Location> +After restarting the server and issuing requests to the following +URIs: + + http://localhost/users/stas/test.pl + http://localhost/users/eric/test.pl + http://localhost/users/stas/date.pl + +The C<MyApache::LogPerUser> handler will append to I<logs/stas.log>: + + 127.0.0.1 [Sat Aug 31 01:50:38 2002] "/users/stas/test.pl" 200 8 + 127.0.0.1 [Sat Aug 31 01:50:40 2002] "/users/stas/date.pl" 200 44 + +and to I<logs/eric.log>: + + 127.0.0.1 [Sat Aug 31 01:50:39 2002] "/users/eric/test.pl" 200 8 =head2 PerlCleanupHandler
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]