RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Yes, my apache.conf reads: PerlSendHeader On. > -Original Message- > From: Drew Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:56 PM > To: Bram Whillock > Cc: 'Modperl List' > Subject: Re: PerlRun, nothing but page header > > Have you

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:45, Bram Whillock wrote: > I tried changing the PerlHandler to Apache::Registry and modified the > script so that it does: > my $r = shift; > $r->send_http_header("text/plain"); > $r->print("foo"); > return OK; > > Which works fine. But this isn't a good option considerin

Re: PerlRun, nothing but page header

2004-04-05 Thread Drew Taylor
tas Bekman [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 5:38 PM To: Bram Whillock Cc: 'Perrin Harkins'; 'Modperl List' Subject: Re: PerlRun, nothing but page header Bram Whillock wrote: Apache error log says: mod_perl/1.25 That means nothing, besides having mod_perl present

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
> Cc: 'Perrin Harkins'; 'Modperl List' > Subject: Re: PerlRun, nothing but page header > > Bram Whillock wrote: > > Apache error log says: > > mod_perl/1.25 > > That means nothing, besides having mod_perl present. You need to configure the > s

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Apache error log says: mod_perl/1.25 That means nothing, besides having mod_perl present. You need to configure the server to run your script under mod_perl. Assuming that your script is under:/var/www/beta/modperl.cgi, your configuration: PerlWarn On PerlTaintCheck On PerlM

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Apache error log says: mod_perl/1.25 > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:29 PM > To: Bram Whillock > Cc: Modperl List > Subject: RE: PerlRun, nothing but page header > > On Mon, 2004-04-05 at 17

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:21, Bram Whillock wrote: > Getting rid of the fatalsToBrowser does nothing. > > The second script gives me an error: > [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method > "send_http_header" on an undefined value at /var/www/beta/modperl.cgi > line 3. Sounds l

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Getting rid of the fatalsToBrowser does nothing. The second script gives me an error: [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method "send_http_header" on an undefined value at /var/www/beta/modperl.cgi line 3. Meaning that you aren't running that script under

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Bekman [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:15 PM > To: Bram Whillock > Cc: [EMAIL PROTECTED] > Subject: Re: PerlRun, nothing but page header > > Bram Whillock wrote: > > I recently built and got up and running apache 1.3.19 with mod_perl and > > mo

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: I recently built and got up and running apache 1.3.19 with mod_perl and mod_ssl. I'm not receiving any error messages, but I cannot get any output from a test page. Any difference if you remove this line? use CGI::Carp qw(fatalsToBrowser); If not, any luck with this script