RE: cgi_to_mod_perl manpage suggestion

2001-03-15 Thread Rob Bloodgood
> On Wed, 14 Mar 2001, Perrin Harkins wrote: > > > On Wed, 14 Mar 2001, Issac Goldstand wrote: > > > I still think that the above line is confusing: It is > because mod_perl is > > > not sending headers by itelf, but rather your script must provide the > > > headers (to be returned by mod_perl)

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Gunther Birznieks
Personally I'll admit that I've gotten screwed by this before... I usually remember that it's a setting and set it one way, and then when my script doesnt work, I set it the other way. Of course I didnt read the docs thoroughly, but because it was confusing, I just try it until it worked. Mayb

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Andrew Ho
Hello, SB>A small correction: "PerlSendHeader On makes mod_perl act just like SB>mod_cgi with regard to HTTP headers" :) +1 vote for adding this simple sentence, which IMO would clear up lots of CGI to mod_perl beginner confusion. Humbly, Andrew ---

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Stas Bekman
On Wed, 14 Mar 2001, Perrin Harkins wrote: > On Wed, 14 Mar 2001, Issac Goldstand wrote: > > I still think that the above line is confusing: It is because mod_perl is > > not sending headers by itelf, but rather your script must provide the > > headers (to be returned by mod_perl). However, w

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
rint: 7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Issac Goldstand" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 9:30 PM Subject: Re: cgi_to_mod_perl m

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Perrin Harkins
On Wed, 14 Mar 2001, Issac Goldstand wrote: > I still think that the above line is confusing: It is because mod_perl is > not sending headers by itelf, but rather your script must provide the > headers (to be returned by mod_perl). However, when you just say "mod_perl > will send headers" it i

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Stas Bekman
On Wed, 14 Mar 2001, Issac Goldstand wrote: > So basically, PerlSendHeaders On means that it will send information such as > the return code (eg HTTP/1.1 200 OK) ETag, Date and other headers that > Apache generally handles on its own under mod_cgi? > > If so, then I think that all that really nee

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
- Original Message - From: "Bill Moseley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 4:34 PM Subject: Re: cgi_to_mod_perl manpage suggestion > At 03:34 PM 03/14/01 +0200, Issac Goldstand wrote: > >> On Tue, 13 Mar 2

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Bill Moseley
At 03:34 PM 03/14/01 +0200, Issac Goldstand wrote: >> On Tue, 13 Mar 2001, Andrew Ho wrote: >> > PH>Um, you're getting me confused now, but PerlSendHeader On means that >> > PH>mod_perl WILL send headers. > > I still think that the above line is confusing: It is because mod_perl is >not sending

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Andrew Ho" <[EMAIL PROTECTED]> Cc: "Issac Goldstand" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 4:56 AM Subject: Re: cgi_to_mod_perl

Re: cgi_to_mod_perl manpage suggestion

2001-03-13 Thread Perrin Harkins
On Tue, 13 Mar 2001, Andrew Ho wrote: > PH>Um, you're getting me confused now, but PerlSendHeader On means that > PH>mod_perl WILL send headers. > > I recognize this confusion. Most recovering CGI programmers think that > "PerlSendHeader On" means that you no longer have to do this in your CGI: >

Re: cgi_to_mod_perl manpage suggestion

2001-03-13 Thread Andrew Ho
Hello, PH>Um, you're getting me confused now, but PerlSendHeader On means that PH>mod_perl WILL send headers. I recognize this confusion. Most recovering CGI programmers think that "PerlSendHeader On" means that you no longer have to do this in your CGI: print "Content-type: text/html\n\n";

Re: cgi_to_mod_perl manpage suggestion

2001-03-13 Thread Perrin Harkins
On Tue, 13 Mar 2001, Issac Goldstand wrote: > The only problem was the PerlSendHeaders option. The first fifty or > so times that I read the manpages, I understood that PerlSendHeader On > means that mod_perl will SEND HEADERS, and that off meant supply your > own... Somehow I figured out (eventu