Re: Impossible to run a script.

2008-05-14 Thread Alexey Shakin
The question is - why does the very same script run on one server and does not on another. The both servers is the same distribution kit. > On Wed 14 May 2008, Jens Petter Salvesen wrote: > > "Premature end of script headers" usually means > > the script terminated because of some error or was u

Re: missing POST data but not GET.....

2008-05-14 Thread Tracy12
Thanks for the reply, instead of rewriting the CGI used locations isn't there a way to get the functionality. I am making use of $r primary for some session handling only. I am not doing any read or manipulation with the POSTed data. Do you think that CGI removal is a must? Without much rework

Re: missing POST data but not GET.....

2008-05-14 Thread Joe Schaefer
--- Tracy12 <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the reply, > > Can you pls clariy what is meant by the following, > > >> > >>The original poster should be using apreq > >>(APR::Request::Apache2 or Apache2::Request) > >>for this, not some other perl module that doesn't > >>exploit

Re: missing POST data but not GET.....

2008-05-14 Thread Tracy12
Hi, Thanks for the reply, Can you pls clariy what is meant by the following, >> >>The original poster should be using apreq >>(APR::Request::Apache2 or Apache2::Request) >>for this, not some other perl module that doesn't >>exploit the filter api. Does this mean the final target application wh

Re: missing POST data but not GET.....

2008-05-14 Thread Joe Schaefer
--- Rob French <[EMAIL PROTECTED]> wrote: > Hi, > > POST data is read directly from the socket and can > only be read once. No. POST data is read through httpd's filter api. How many times you can read it depends on what's in the input filter chain. The original poster should be using apreq (

Re: refactoring client's decision

2008-05-14 Thread Michael Peters
Jonathan Vanasco wrote: > Unless I'm confused, I've been doing that for years without issue. > > I routinely have > > P2XLP::$package -> base namespace > MyApp::$package -> @ISA( P2XLP::App::$package ) Are you saying that you have multiple MyApp::Foo packages running under the same mod

Re: Impossible to run a script.

2008-05-14 Thread Torsten Foertsch
On Wed 14 May 2008, Jens Petter Salvesen wrote: > "Premature end of script headers" usually means > the script terminated because of some error or was unable to start in > the first place. No, it means that your script has failed to send a proper block of http headers to the server. For example i

Re: Impossible to run a script.

2008-05-14 Thread Alexey Shakin
The error_log entry is an exact match of the string quoted by you, added with date, time and client address information. - Original Message - From: "Jens Petter Salvesen" <[EMAIL PROTECTED]> To: "Alexey Shakin" <[EMAIL PROTECTED]>; Sent: Wednesday, May 14, 2008 1:33 PM Subject: RE: Impos

RE: Impossible to run a script.

2008-05-14 Thread Jens Petter Salvesen
Hello, Alexey The first thing to check is your error_log. It contains all output to stderr from your script. "Premature end of script headers" usually means the script terminated because of some error or was unable to start in the first place. Best regards, Jens-Petter Salvesen -Original Mes

Impossible to run a script.

2008-05-14 Thread Alexey Shakin
Hello ALL! SUBJ! In answer to any attempt to address a script from the cgi-bin directory I am getting the following message The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: script.pl I have checked all possible caus

RE: Make test fails, fails to connect

2008-05-14 Thread Jens Petter Salvesen
Hi, Fred >Jens Petter Salvesen wrote: >> The system in this case is RHEL 5 64bit, but we experience the same >> hiccup on RHEL 4 32bit as well. >> >> Anybody have a clue about why this is happening? > >I've seen this happen when the tests tried to load an httpd module that >wasn't in the build,