Re: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-30 Thread Michael Peters
David Christensen wrote: cgiapp: Michael Peters wrote: I've seen this before, but it was usually because I made a change to the module that prohibited perl from being able to recompile it. Are you sure that your change wasn't a syntax error? I've caused the error multiple times by

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-29 Thread Ron Savage
On Mon, 28 Nov 2005 20:39:27 -0800, David Christensen wrote: Hi David [EMAIL PROTECTED]:~$ perl -e 'use Apache::Reload; print $Apache::Reload::VE RSION, \n' 0.07 I'm using V 0.09 under Apache2 under Windows. -- Cheers Ron Savage, [EMAIL PROTECTED] on 29/11/2005

Re: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-29 Thread Michael Peters
David Christensen wrote: and restart Apache, all appears well. As soon as I make a change to Hdwf.pm and hit refresh: [Mon Nov 28 19:57:54 2005] [error] Can't locate Hdwf.pm in @INC (@INC co ntains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-29 Thread David Christensen
Ron Savage wrote: I'm using V 0.09 under Apache2 under Windows. Hmmm... Looking at: http://www.cpan.org/modules/by-module/Apache/ I only see version 0.07, which is what I installed as root via the CPAN shell. Looking at the version 0.07 readme file:

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-29 Thread David Christensen
cgiapp: Michael Peters wrote: I've seen this before, but it was usually because I made a change to the module that prohibited perl from being able to recompile it. Are you sure that your change wasn't a syntax error? I've caused the error multiple times by changing hello, world! to hello,

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-29 Thread Ron Savage
On Tue, 29 Nov 2005 21:14:56 -0800, David Christensen wrote: Hi David Hmmm... Looking at: http://www.cpan.org/modules/by-module/Apache/ I only see version 0.07, which is what I installed as root via the CPAN shell. Where did you get version 0.09? I see the same, but I'm using a

Re: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-28 Thread Michael Peters
Ron Savage wrote: On Sun, 27 Nov 2005 19:54:07 -0800, David Christensen wrote: AllowOverride All PerlModule Apache::Reload PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off This means that only the modules that 'use' Apache::Reload will be reloaded. This is normally what you want, since

Re: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-28 Thread Ron Savage
On Mon, 28 Nov 2005 07:29:58 -0500, Michael Peters wrote: Hi Michael use Apache::Reload; I do not use this in any of my scripts. Well you wouldn't need to is you had ReloadAll 'on' or actually used real module names in ReloadModules. But if you didn't, then you would need use Apache::Reload

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-28 Thread David Christensen
cgiapp: Ron Savage wrote: Eeek. I do not put the stuff I posted inside any tags. When I do this: [EMAIL PROTECTED]:~$ cat hdwf/conf/vhost.conf # $Id: vhost.conf,v 1.2 2005/11/29 03:47:31 dpchrist Exp $ # # Apache configuration settings for hdwf.holgerdanske.com. # # Copyright 2005 by David

Re: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-27 Thread Ron Savage
On Sun, 27 Nov 2005 20:25:37 +, RA Jones wrote: Hi Folks One way to do this is to use the Apache::Reload module. I use this Definitely use Apache::Reload. Here's a bit from my httpd.conf: PerlModule Apache::Reload PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off PerlSetVar

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-27 Thread David Christensen
cgiapp: RA Jones wrote: One way to do this is to use the Apache::Reload module. When I hit the site after a fresh restart, all is well. But when I refresh the page: [Sun Nov 27 14:22:03 2005] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sun Nov 27 14:22:10 2005] [error] Can't

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-27 Thread David Christensen
cgiapp: Looking at: http://perl.apache.org/docs/1.0/api/index.html Under Part III: Development/Debugging help and Apache::StatINC, it states This module's handler iterates over %INC and reloads the file if it has changed on disk. This doesn't seem to work either. David

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-27 Thread David Christensen
Ron Savage wrote: Definitely use Apache::Reload. Here's a bit from my httpd.conf: First, here is code that works, but requires me to restart/graceful Apache whenever I make changes to my C::A derived module: CVSENV[EMAIL PROTECTED]:~/hdwf$ cat conf/vhost.conf # $Id: vhost.conf,v 1.1 2005/11/27

RE: [cgiapp] changes to Perl modules used by CGI scripts run under Apache::Registry not seen by Apache

2005-11-27 Thread Ron Savage
On Sun, 27 Nov 2005 19:54:07 -0800, David Christensen wrote: Hi David Very frustrating. Yes, a couple of suggestions: Directory /home/dpchrist/hdwf Eeek. I do not put the stuff I posted inside any tags. AllowOverride All PerlModule Apache::Reload PerlInitHandler Apache::Reload