Tom Schindl wrote:
Hi,
Is Apache allowed to change into this directory/read the file, try to move it to e.g. /tmp and see if it works. You could also insert a print-Statement and you should see the output on the console when apache is started (stop/start not restart). I'm not sure but I think a restart will not reload PerlRequire things. Maybe someone could correct me if I'm wrong.
If I'm not wrong here's a doc-patch.
Index: config.pod
===================================================================
RCS file: /home/cvspublic/modperl-docs/src/docs/1.0/guide/config.pod,v
retrieving revision 1.18
diff -u -r1.18 config.pod
--- config.pod 26 Nov 2003 08:40:10 -0000 1.18
+++ config.pod 23 Jul 2004 06:28:09 -0000
@@ -665,6 +665,9 @@
C<require()>'d, it must return a I<true> value. To ensure that this
happens don't forget to add C<1;> at the end of I<startup.pl>.
+Modules and modification e.g. to C<@INC> loaded via these Directives are only
+made if you issue a full stop/start, a restart is not sufficient.
That's not special to startup.pl, but to any files loaded via PerlModule and PerlRequire. And it's not true if PerlFreshRestart is used or mod_perl is built as DSO. This is documented here:
http://perl.apache.org/docs/1.0/guide/config.html#PerlFreshRestart
and here:
http://perl.apache.org/docs/1.0/guide/config.html#PerlModule_and_PerlRequire_Directives
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html