Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] 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:/

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
Stas Bekman wrote: Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] 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/do

Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] 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

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
Stas Bekman wrote: Tom Schindl wrote: [...] 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#PerlFreshRest

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
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 r

Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: 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

Re: startup.pl file not working

2004-07-22 Thread Tom Schindl
Hi, you should have said that you are running as CGI. Here the modification using PerlRequire doesn't have any effects because you are starting a new perl-interpreter for every request. You should make a Apache::Registry-Script out of it, else you'll have to stick with use lib qw() in your .cgi.

Re: startup.pl file not working

2004-07-22 Thread Tom Schindl
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

Re: startup.pl file not working

2004-07-22 Thread David Arnold
Tom et al, OK. Permissions on startup.pl are: -rwx--1 darnold darnold 146 Jul 22 23:07 startup.pl But I am running Apache with user=darnold and group darnold. I put a print statement in startup.pl, which was a good idea by the way. # File: startup.pl use lib qw(/home/darnold/mo

Re: startup.pl file not working

2004-07-22 Thread Tom Schindl
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 r

startup.pl file not working

2004-07-22 Thread David Arnold
All, I have this in conf/httpd.conf: # Startup File: PerlRequire /home/darnold/modperl/startup.pl And: [EMAIL PROTECTED] apache]# cat /home/darnold/modperl/startup.pl # File: startup.pl use lib qw(/home/darnold/modperl/); 1; However, I am getting this in my error log: Can't locate OnlineTest