Thread Apache::Registry (4 answers)
Opened by Froschpopo at 2006-03-01 05:08

GwenDragon
 2006-03-03 13:34
#29952 #29952
User since
2005-01-17
14556 Artikel
Admin1
[Homepage]
user image
Quote
merkwürdig, dass hier auch das Script bei jedem Aufruf auf änderungen gecheckt wird
Nein. Nicht merkwürdig. Das steht doch in der POD-Doku:
Quote
ModPerl::Registry - Run unaltered CGI scripts persistently under mod_perl

=head1 Synopsis

 # httpd.conf
 PerlModule ModPerl::Registry
 Alias /perl/ /home/httpd/perl/
 <Location /perl>
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     #PerlOptions +ParseHeaders
     #PerlOptions -GlobalRequest
     Options +ExecCGI
 </Location>

=head1 Description

URIs in the form of C<http://example.com/perl/test.pl> will be
compiled as the body of a Perl subroutine and executed.  Each child process will compile the subroutine once and store it in memory. It will recompile it whenever the file (e.g. I<test.pl> in our example) is updated on disk.  Think of it as an object oriented server with each script implementing a class loaded at runtime.

----
It will recompile it whenever the file (e.g. I<test.pl> in our example) is updated on disk.
----
ModPerl::Registry ist ein Kind-Modul von ModPerl::RegistryCooker
Und dort wird mit -M geprüft, ob sich das Skript geändert hat.




Schreibe für dein Skript einen ModPerl-Handler. Anstatt CGI unter mod_perl zu emulieren.

Unter http://modperlbook.org/html/ findest du Online ein Buch über mod_perl. Schon mal reingesehen? ;)[B]\n\n

<!--EDIT|GwenDragon|1141386591-->
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Apache::Registry