moseley     02/04/20 01:07:46

  Modified:    src      config.cfg style.css
               src/about about.html
  Added:       src/about/tips registry.html
  Log:
  Adding examples to go along with the about.html file.
  
  Stas, I need help getting it to work with docset correctly.
  
  Revision  Changes    Path
  1.20      +1 -0      modperl-docs/src/config.cfg
  
  Index: config.cfg
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/config.cfg,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- config.cfg        19 Apr 2002 19:53:33 -0000      1.19
  +++ config.cfg        20 Apr 2002 08:07:45 -0000      1.20
  @@ -17,6 +17,7 @@
        chapters => [
            qw(
               about/about.html
  +            about/tips/registry.html
              )
        ],
   
  
  
  
  1.56      +7 -0      modperl-docs/src/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/style.css,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- style.css 20 Apr 2002 06:52:57 -0000      1.55
  +++ style.css 20 Apr 2002 08:07:45 -0000      1.56
  @@ -32,6 +32,13 @@
   a:active  { color: #666666;}
   a:hover   { color: #666666;}
   
  +a.more {
  +    font-size: 0.8em;
  +    color: red;
  +    text-decoration: none;
  +}
  +
  +
   /* light blue bg-color for menu-titles */
   td.menu-title-bg { background-color: #828da6; }
   
  
  
  
  1.11      +25 -3     modperl-docs/src/about/about.html
  
  Index: about.html
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/about/about.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- about.html        20 Apr 2002 00:45:22 -0000      1.10
  +++ about.html        20 Apr 2002 08:07:45 -0000      1.11
  @@ -28,6 +28,7 @@
               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
               to run your existing CGI scripts at lightning speed.
  +            <a class="more" href="tips/registry.html">more &#187;</a>
           </blockquote>
   
       <br><br>
  @@ -35,7 +36,7 @@
       <b>Easily create custom modules that become part of Apache</b>
           <blockquote>
               With the power of Perl, writing custom modules to extend and
  -            enhance Apache is a snap.  Content handlers can be written just
  +            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
               modules freely available from the <a 
href="http://cpan.org";>CPAN</a>.
  @@ -45,7 +46,7 @@
   
       <br><br>
       
  -    <b>Gain access to <em>all</em> request stages</b>
  +    <b>Gain access to all request stages</b>
           <blockquote>
               mod_perl is not only about super fast content generation.
               With mod_perl all phases of the request cycle can be accessed
  @@ -108,7 +109,28 @@
               For example, custom protocol handlers can be written in Perl.
           </blockquote>
   
  -</blockquote>        
  +    <br><br>
  +
  +    <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
  +            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
  +            available online through this web site.
  +            For off-line, spend your time with execelent
  +            <a href="../docs/offsite/books.html">books</a> about mod_perl.
  +            There's nothing like curling up in bed with a good book.  Or 
someone that's read one.
  +        </blockquote>
  +            
  +
  +</blockquote>
  +<br><br>
  +Now, it's time to <a href="../docs/1.0/guide/getwet.html">Get Your Feet 
Wet</a> with <b>mod_perl</b>.
  +
   
   
   
  
  
  
  1.1                  modperl-docs/src/about/tips/registry.html
  
  Index: registry.html
  ===================================================================
  <html>
  <head>
      <title>Apache::Registry Example</title> 
      <meta name="Description" content="Apache::Registry Example">
  </head>
  <body bgcolor="white">
  
  
  <h1>Running CGI scripts with mod_perl</h1>
  
  Existing CGI scripts will run much faster under mod_perl.
  And converting existing CGI scripts to run under mod_perl is easy.
  
  For example, here's an existing CGI script called <tt>hello.cgi</tt>.
  
  <pre>
      #!/usr/local/bin/perl -w
      use strict;
      use CGI;
      my $q = CGI->new;
      print $q->header,
            $q->start_html,
            $q->h1('Hello World!'),
            $q->end_html;
  </pre>
  
  This script can now be run as-is under Apache::Registry by using the
  following configuration in httpd.conf:
  
  <pre>
      &lt;files hello.cgi&gt;
          SetHandler perl-script
          PerlHandler Apache::Registry
          Options ExecCGI
      &lt;/files&gt;
  </pre>
  
  <p>
  That's basically it.  Your scripts do need to be well coded, but there's even 
the
  Apache::PerlRun module to help with those "less clean" programs.
  <p>
  For more information on running CGI scripts under mod_perl please see <a 
href="../../docs/1.0/faqs/index.html">mod_perl FAQs</a>.
  
  
  </body>
  </html>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to