Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 07:48:49PM +0200, Torsten Foertsch wrote: > On Tue 14 Apr 2009, Roberto C. Sánchez wrote: > > I am currently using the latter call everywhere and it is still > > generating the "Undefined subroutine" error. > > Would it be possible to post your module? Perhaps you forgot >

Re: client denied by server configuration: C:/Apache2

2009-04-14 Thread Randy Kobes
On Tue, Apr 14, 2009 at 12:15 PM, sandhya pawar wrote: > I have saved the following file C:\Program Files\Apache Software > Foundation\Apache2.2\Perl\printenv.cgi [ ... ] > and put the following code in httpd.conf > > #Alias /perl/ "/Apache2/perl/" >  Alias /perl/ "C:/Program Files/Apache Software

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez wrote: > On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: >> On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez >> wrote: >> > As far as loading the module, I have tried: >> > >> >  - "PerlModule Example::Image" in .htaccess >>

Re: Undefined subroutine error

2009-04-14 Thread Torsten Foertsch
On Tue 14 Apr 2009, Roberto C. Sánchez wrote: > I am currently using the latter call everywhere and it is still > generating the "Undefined subroutine" error. Would it be possible to post your module? Perhaps you forgot the "package" declaration? Torsten -- Need professional mod_perl support?

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > wrote: > > As far as loading the module, I have tried: > > > >  - "PerlModule Example::Image" in .htaccess > >  - "use Example::Image;" in the main HTML::Mason component > > Ei

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez wrote: > As far as loading the module, I have tried: > >  - "PerlModule Example::Image" in .htaccess >  - "use Example::Image;" in the main HTML::Mason component Either of those should be ok. If you decide to export the sub later, you'd need t

client denied by server configuration: C:/Apache2

2009-04-14 Thread sandhya pawar
I have saved the following file C:\Program Files\Apache Software Foundation\Apache2.2\Perl\printenv.cgi # printenv -- demo CGI program which just prints its environment use strict; print "Content-type: text/html\n\n"; print "Environment variables"; foreach (sort keys %ENV) { my $val

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 12:36:25PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez > wrote: > > OK, so the changes to include the mod_include and mod_disk_cache on the > > production server did not do the trick.  The problem persists. > > I think it's all about

Re: Undefined subroutine error

2009-04-14 Thread Perrin Harkins
On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez wrote: > OK, so the changes to include the mod_include and mod_disk_cache on the > production server did not do the trick.  The problem persists. I think it's all about the way you export your function, but you haven't answered my question about

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Mon, Apr 13, 2009 at 10:12:27PM -0400, Perrin Harkins wrote: > > Are they really identically configured? Are you sure there isn't a > difference in startup.pl or in MaxRequestsPerChild or something like > that? > OK, so the changes to include the mod_include and mod_disk_cache on the producti