RE: Question about Files directive

[prev] [thread] [next] [Date index for 2005/03/02]

From: Jain, Abhay K, ALABS
Subject: RE: Question about Files directive
Date: 14:51 on 02 Mar 2005

-----Original Message-----
From: Sean Davis [mailto:sdavis2@xxxx.xxx.xxx]
Sent: Wednesday, March 02, 2005 9:43 AM
To: Jain, Abhay K, ALABS
Cc: modperl@xxxx.xxxxxx.xxx
Subject: Re: Question about Files directive



On Mar 2, 2005, at 9:37 AM, Jain, Abhay K, ALABS wrote:

> I just compiled mod_perl 1.29 with apache. As I understand from
> the documentation that with use of directive "Files", Apache caches
the
> perl cgi code so that on next invocation it does not to reparse it.
> If I want to specify more than one cgi script to be cached, how
> do I specify via Files directive.
>
>
I don't think just a files directive will do it.  You probably need to=20
read--it is worth the read:

http://perl.apache.org/docs/1.0/guide/porting.html

Sean
--

Thanks. I should have stated some thing. I already have lots of .cgi
scripts
written in Perl and have been running under Netscape. Initial idea is to
run
them as is. Some heavy hitter scripts are simple and well written.
My question was based in the context of the Files block
from the following from http://perl.apache.org/start/tips/registry.html

  file:hello.cgi
  --------------
  #!/usr/local/bin/perl -w
  use strict;
  use CGI;
  my $q =3D CGI->new;
  print $q->header,
        $q->start_html,
        $q->h1('Hello World!'),
        $q->end_html;
This script can now be run as-is under Apache::Registry by using the
following configuration in httpd.conf:

  <Files hello.cgi>
      SetHandler perl-script
      PerlHandler Apache::Registry
      Options ExecCGI
  </Files>


Question about Files directive
Jain, Abhay K, ALABS 14:37 on 02 Mar 2005

Re: Question about Files directive
Sean Davis 14:43 on 02 Mar 2005

RE: Question about Files directive
Jain, Abhay K, ALABS 14:51 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:18 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 17:18 on 02 Mar 2005

Re: Question about Files directive
Markus Wichitill 14:56 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 15:00 on 02 Mar 2005

Re: Question about Files directive
Tom Schindl 15:51 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:16 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:26 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:36 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:43 on 02 Mar 2005

Re: Question about Files directive
Stas Bekman 23:53 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 04:34 on 03 Mar 2005

Re: Question about Files directive
Carl Johnstone 20:40 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 01:58 on 03 Mar 2005

Generated at 20:12 on 07 Mar 2005 by mariachi v0.52