in reply to Re^2: Help with Apache::RegistryLoader
in thread Help with Apache::RegistryLoader
# in /etc/apache2/mods-enabled/perl.conf: PerlModule Apache2 PerlModule ModPerl::Registry PerlInitHandler Apache::Reload PerlRequire /etc/apache2/startup.pl # in /etc/apache2/startup.pl use lib qw(/var/www/cgi-bin /var/www/cgi-bin/modules); use DBI; use CGI qw(:cgi); use File::Find; use HTML::Template; use OwnModulesHere; print STDERR "Pre-loading HTML Templates...\n"; if (1) { find( sub { return unless /\.tmpl$/; HTML::Template->new( filename => "$File::Find::dir/$_", cache => 1, ); }, '/var/www/TemplatesFolder', ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with Apache::RegistryLoader
by Anonymous Monk on Jul 08, 2005 at 05:29 UTC | |
by jbrugger (Parson) on Jul 08, 2005 at 05:40 UTC |