-----Original Message----- From: Sean Davis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 9:43 AM To: Jain, Abhay K, ALABS Cc: modperl@perl.apache.org 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 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 = 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>