moseley 02/04/26 15:41:09 Modified: src/start index_top.html src/start/tips config.pod favicon.pod handler.pod logging.pod registry.pod Removed: src/start about.html src/start/tips config.html handler.html logging.html registry.html Log: Update links, and text with changes from Per Einar Ellefsen <[EMAIL PROTECTED]> Revision Changes Path 1.2 +14 -12 modperl-docs/src/start/index_top.html Index: index_top.html =================================================================== RCS file: /home/cvs/modperl-docs/src/start/index_top.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index_top.html 24 Apr 2002 04:20:59 -0000 1.1 +++ index_top.html 26 Apr 2002 22:41:09 -0000 1.2 @@ -24,7 +24,6 @@ <b>Accelerate your existing dynamic content</b> <blockquote> - The standard Apache::Registry module can provide 100x speedups for your existing CGI scripts and reduce the load on your server at the same time. A few changes to the web server's config is all that is required @@ -38,7 +37,7 @@ <b>Easily create custom modules that become part of Apache</b> <blockquote> - With the power of Perl, writing custom modules to extend and + With mod_perl writing custom modules to extend and enhance Apache is a snap. Content handlers can be written in just a few lines of code and can be quickly integrated with existing modules specifically designed for use with mod_perl, or with @@ -48,7 +47,7 @@ - <a name="logging"></a> + <a name="stages"></a> <br><br> <b>Gain access to all request stages</b> @@ -59,7 +58,7 @@ much control. <br><br> - Imagine the power of mod_rewrite combined with the power of Perl! + Imagine the flexibility of rewriting writing URLs using Perl! Rewrite URLs based on the content of a directory structure, settings stored in a relational database, or the phase of the moon. @@ -68,7 +67,7 @@ existing user databases or take advantage of the well-supported CPAN modules to extend the abilities of Apache. You can even create custom logging tailored to your site's specific needs. - <a class="more" href="tips/logging.html">more »</a> + <a class="more" href="tips/favicon.html">more »</a> </blockquote> @@ -78,12 +77,13 @@ <b>Configure Apache with Perl</b> <blockquote> - Perl can be used right in your httpd.conf file. Apache can be dynamically - configured during startup. Everything from virtual hosts to authentication - settings can be configured via Perl. URL translation logic can be added right - in your httpd.conf file. Settings can be adjusted on a per-request basis and - values passed from code in httpd.conf to your content generation modules. - You can even generate complete HTTP output from the httpd.conf configuration file. + Perl can be used right in your httpd.conf file. Everything from virtual hosts + to authentication settings can be configured via Perl. URL translation logic + can be written with Perl for your complex or dynamic URL rewriting needs. + Settings can be adjusted on a per-request basis and values passed from code + in httpd.conf to your content generation modules. + You can even generate complete HTTP output from the httpd.conf + configuration file. <a class="more" href="tips/config.html">more »</a> </blockquote> @@ -106,6 +106,7 @@ There are many high-level packages built on top of the mod_perl infrastructure to help you develop scalable and easily managed dynamic sites. All are well supported and maintain a loyal group of users. + <br><br> You can select from a number of templating systems or application frameworks for use with mod_perl. @@ -127,9 +128,10 @@ <b>Active Support Community</b> <blockquote> mod_perl has all the support anyone could ask for. + <br><br> Response time to questions posted on any of the mod_perl related - <a href="../maillist/index.html">lists</a> is often minutes. And + <a href="../maillist/index.html">lists</a> is often measured in minutes. And with such a large installed base there's often someone that knows the answer to your specific question. In addition, a wealth of well maintained documentation is 1.4 +1 -1 modperl-docs/src/start/tips/config.pod Index: config.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/start/tips/config.pod,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config.pod 26 Apr 2002 01:45:50 -0000 1.3 +++ config.pod 26 Apr 2002 22:41:09 -0000 1.4 @@ -8,7 +8,7 @@ configuration file. Perl in httpd.conf is commonly used to dynamically configure Apache, but anything from URL translation to content generation can be accomplished directly in the configuation -file. +file within E<lt>PerlE<gt> sections. This example reads configuration settings from a text file and configures Apache's virtual hosts. 1.3 +5 -5 modperl-docs/src/start/tips/favicon.pod Index: favicon.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/start/tips/favicon.pod,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- favicon.pod 26 Apr 2002 01:43:11 -0000 1.2 +++ favicon.pod 26 Apr 2002 22:41:09 -0000 1.3 @@ -9,8 +9,8 @@ I<favicon.ico> and rewrites the request to point to a vaild location. No more logs full of 404 errors. -This example is adapted from the L<mod_perl Devekioer's -Cookbook|http://modperlcookbook.com>, chapter 12. +This example is adapted from the +L<mod_perl Developer's Cookbook|docs::offsite::books/The_mod_perl_Developer_s_Cookbook>, chapter 12. file:Cookbook/Favicon.pm ------------------------ @@ -35,11 +35,11 @@ PerlTransHandler Cookbook::Favicon Although this example could easily be accomplished with Apache's -mod_rewrite module, this example demonstrates how easy it is to -rewrite URLs programatically, using the power of Perl. +C<mod_rewrite> module, this example demonstrates how easy it is to +rewrite URLs programatically, using Perl. =for html -<a class="more" href="../index.html#handler">« back</a> +<a class="more" href="../index.html#stages">« back</a> 1.7 +5 -6 modperl-docs/src/start/tips/handler.pod Index: handler.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/start/tips/handler.pod,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- handler.pod 26 Apr 2002 05:43:59 -0000 1.6 +++ handler.pod 26 Apr 2002 22:41:09 -0000 1.7 @@ -38,17 +38,16 @@ Save the above as a file file in your perl library -(e.g. I<My/Greeting.pm>a). Now, to return the above greeting when the +(e.g. I<My/Greeting.pm>). Now, to return the above greeting when the URL I</hello> is visited on your server: - <location /hello> + <Location /hello> SetHandler perl-script PerlHandler My::Greeting - </location> + </Location> -For a more in-depth explanation of creating mod_perl handlers see -L<Documentation|"../../docs/index.html">. The L<mod_perl -Guide|"../../docs/1.0/guide/index.html"> is also recommended reading. +For a more in-depth explanation of creating mod_perl handlers, +and mod_perl in general, see the L<mod_perl Guide|guide::index>. =for html <a class="more" href="../index.html#handler">« back</a> 1.4 +3 -3 modperl-docs/src/start/tips/logging.pod Index: logging.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/start/tips/logging.pod,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- logging.pod 26 Apr 2002 01:49:53 -0000 1.3 +++ logging.pod 26 Apr 2002 22:41:09 -0000 1.4 @@ -8,7 +8,7 @@ example of a C<PerlLogHandler>. The C<PerlLogHandler> is one of the last phases of the request cycle. -This example sends mail when a request is made to the /private section +This example sends mail when a request is made to the I</private> section of your web space. A more common use of a C<PerlLogHandler> might be to track hits on a specific set of URLs, or to write logging data to a relational database. @@ -41,10 +41,10 @@ The I<httpd.conf> setup: - <location /private> + <Location /private> SetHandler perl-script PerlLogHandler My::Notify - </location> + </Location> =for html <a class="more" href="../index.html#logging">« back</a> 1.3 +5 -3 modperl-docs/src/start/tips/registry.pod Index: registry.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/start/tips/registry.pod,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- registry.pod 26 Apr 2002 01:43:11 -0000 1.2 +++ registry.pod 26 Apr 2002 22:41:09 -0000 1.3 @@ -24,11 +24,11 @@ This script can now be run as-is under C<Apache::Registry> by using the following configuration in I<httpd.conf>: - <files hello.cgi> + <Files hello.cgi> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI - </files> + </Files> That's basically it. Your scripts do need to be well coded, but there's even the C<Apache::PerlRun> module to help with those "less @@ -44,7 +44,9 @@ Apache version 1.3.20</small> For more information on running CGI scripts under mod_perl please see -L<mod_perl FAQs|"../../docs/1.0/faqs/index.html">. +L<CGI to mod_perl FAQ|faqs::cgi_to_mod_perl> and +L<the CGI to mod_perl Porting section|guide::porting> +of L<The Guide|guide::index>. =for html <a class="more" href="../index.html#registry">« back</a>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]