On Mon, 1 Jun 2020 09:55:24 +0200
André Warnier (tomcat/perl) <a...@ice-sa.com> wrote:

> 
> PerlPostConfigRequire "/etc/apache2/modperl2_startup.pl"
> 
> Maybe you forgot this on one of the systems, and not the other ?
> 

You know, I grepped the hell out of my modules for an hour before posting, 
trying to find this "use ...' line. I can't believe I indeed forgot about the 
startup.pl :

ssh kimsufi_3 grep use\  /etc/apache2/startup.pl | grep CGI
use CGI::Cookie ();

ssh kimsufi_2 grep use\  /etc/apache2/startup.pl | grep CGI
#use CGI::Cookie ();

Good call André :-)

(note to self : stop working when you're obviously too tired to think, so as 
not to embarass yourself in public)

> I also use the same startup script to log some information to the Apache 
> error log at 
> startup, such as this for example :
> 4184 2020] [:error] [pid 5519] mp2-startup: @INC is now : 
... 
> precisely so that I would know what the perl module library search paths 
> would be under 
> Apache when it runs.
> 

Nice, thanks for the tip.

Reply via email to