Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
Randy, Good advice. Thanks. At 03:39 PM 7/24/04 -0500, Randy Kobes wrote: >On Sat, 24 Jul 2004, David Arnold wrote: > >> Randy, >> >> Changing the filename to junk.cgi worked. >> >> I definitely think that filenames *.pl are associated with something or >> other on my Windows 95 machine, because

Re: File Save As instead of context/plain

2004-07-24 Thread Randy Kobes
On Sat, 24 Jul 2004, David Arnold wrote: > Randy, > > Changing the filename to junk.cgi worked. > > I definitely think that filenames *.pl are associated with something or > other on my Windows 95 machine, because a little yellow ball occurs next to > the filename in the explorer. But when I view

Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
Randy, Changing the filename to junk.cgi worked. I definitely think that filenames *.pl are associated with something or other on my Windows 95 machine, because a little yellow ball occurs next to the filename in the explorer. But when I view filetypes in My Computer, I cannot find that little ye

Re: File Save As instead of context/plain

2004-07-24 Thread Jens Gassmann
Hi Arnold, >Nice idea. But it doesn't work. Same behavior. sorry, i don't read my own recommeded text to the end :-( Years before i read that mod_perl and exit() do't work together - but with perl 5.6 modperl overwrites the exit() call. You are sure that the script runs under mod_perl? just prin

Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
Jens, Nice idea. But it doesn't work. Same behavior. At 10:02 PM 7/24/04 +0200, Jens Gassmann wrote: >Hi Arnold, > > >Maybe delete the exit call at the end of you script. Read here why not >use exit under mod_perl > >Regards, >Jens > >http://perl.apache.org/docs/1.0/guide/porting.html#Terminatin

Re: File Save As instead of context/plain

2004-07-24 Thread Randy Kobes
On Sat, 24 Jul 2004, David Arnold wrote: > All, > > I am battling the strangest behavior. I have been battling this off and on > every since I began experimenting with mod perl. I am currently working with: > > [Sat Jul 24 12:42:34 2004] [notice] SIGUSR1 received. Doing graceful restart > [Sat Ju

Re: File Save As instead of context/plain

2004-07-24 Thread Jens Gassmann
Hi Arnold, Maybe delete the exit call at the end of you script. Read here why not use exit under mod_perl Regards, Jens http://perl.apache.org/docs/1.0/guide/porting.html#Terminating_requests_and_processes__the_exit___and_child_terminate___functions #! /usr/local/bin/perl -w # File: junk.pl use s

File Save As instead of context/plain

2004-07-24 Thread David Arnold
All, I am battling the strangest behavior. I have been battling this off and on every since I began experimenting with mod perl. I am currently working with: [Sat Jul 24 12:42:34 2004] [notice] SIGUSR1 received. Doing graceful restart [Sat Jul 24 12:42:34 2004] [notice] Apache/1.3.31 (Unix) mod_

Re: Method Handler not working

2004-07-24 Thread MARTIN MOSS
Thanks very much Perrin, Have a nice weekend, Marty --- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Fri, 2004-07-23 at 18:12, MARTIN MOSS wrote: > > My question is, If you don't have a PerlModule > > statement or a use My::Module, or a require or a > > +My::Module statement so it looks like

Re: Method Handler not working

2004-07-24 Thread MARTIN MOSS
> > > It is setup like this:- > > > > > > > > > SetHandler perl-script > > > PerlHandler My::Package > > > > > Shouldn't that be > >PerlHandler My::Package->handler > > Technically that isn't necessary if your method is > called handler() and > you have prototyped it with ($$). > I've go