Hi,
We have been using Apache 2.0.59, and our application as running fine.
When we upgrade Apache to 2.2.10, we start getting 500 Internal
Server Error consistently.
After looking at error.log, we found following logs:
...
[Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of
Ravindra wrote:
Hi,
We have been using Apache 2.0.59, and our application as running fine.
When we upgrade Apache to 2.2.10, we start getting 500 Internal
Server Error consistently.
After looking at error.log, we found following logs:
...
[Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d]
On Tue, Nov 18, 2008 at 8:06 AM, Ravindra [EMAIL PROTECTED] wrote:
Hi,
We have been using Apache 2.0.59, and our application as running fine.
When we upgrade Apache to 2.2.10, we start getting 500 Internal
Server Error consistently.
After looking at error.log, we found following logs:
...
I tried scriptLog and this log contains only request no response. Does
that mean Apache is not spawning my script/application ?
I have followng entry in my httpd.conf:
ScriptAlias/foo/C:/Program Files/bar/foo.exe/
Also, when I insert DebugBreak() in foo.exe, it
...
[Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of
script headers: our_application.exe
...
ScriptLog might show you that your app is emitting an error message
instead of e.g. Content-Type header.
--
Actually, I've _also_ just started to have an intermittent
In my case, Apache is running as localsystem and it happens consistently.
I'm just not able to use 2.2.10 due to this problem.
On Tue, Nov 18, 2008 at 9:42 PM, Dan Yamins [EMAIL PROTECTED] wrote:
...
[Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of
script headers:
I tried to replace my app with a perl test script and I get 500
internal server error when I try to access /test/ URL:
httpd.conf:
ScriptAlias /test/ C:/Program Files/MyApp/bin/test.pl
error.log:
[Tue Nov 18 21:53:15 2008] [error] [client ::1] (OS 3)The system
cannot find the path
Ravindra,
ScriptAlias should be the name of a *directory* in which you have your
scripts. Not the name of the script itself.
Suppose your webserver's document directory (DocumentRoot) is something like
c:/apache2/htdocs
Then you would create a directory like
c:/apache2/cgi-bin
and you would
Sorry, I made a big mistake in the URLs below.
Corrected in the text.
André Warnier wrote:
Ravindra,
ScriptAlias should be the name of a *directory* in which you have your
scripts. Not the name of the script itself.
Suppose your webserver's document directory (DocumentRoot) is something
like
Fedora Core 4
Apache 2.0.54
I seem to be having this same problem. I read the manual at:
http://httpd.apache.org/docs/2.0/howto/cgi.html#writing
and created the first.pl file. when I run ./first.pl from the command
line, all it prints is:
Content-type: text/html
and does not print the
Fedora Core 4
Apache 2.0.54
I seem to be having this same problem. I read the manual at:
http://httpd.apache.org/docs/2.0/howto/cgi.html#writing
and created the first.pl file. when I run ./first.pl from the command
line, all it prints is:
Content-type: text/html
and does not
Fedora Core 4
Apache 2.0.54
I seem to be having this same problem. I read the manual at:
http://httpd.apache.org/docs/2.0/howto/cgi.html#writing
and created the first.pl file. when I run ./first.pl from the
command
line, all it prints is:
Content-type: text/html
and does not print the
Hi,
That's exactly what I have - here's the first.pl file:
#!/usr/bin/perl
print Content-type: text/html\n\n;
print Hello, World.;
Also - I guess ie does work via command line as shown:
[EMAIL PROTECTED] cgi-bin]# ./first.pl
Content-type: text/html
Hello, [EMAIL PROTECTED] cgi-bin]#
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL with Apache 2.0.52.
The simplest script I have is:
#!/usr/bin/perl
print Hello;
In the error log I'm told:
[Tue Feb 21 08:57:48 2006] [error] [client 10.33.1.32] Premature end
of script headers:
Try changing it to hello.pl
[EMAIL PROTECTED] 2/21/2006 8:12:17 AM
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL with Apache 2.0.52.
The simplest script I have is:
#!/usr/bin/perl
print Hello;
In the error log I'm told:
[Tue Feb 21 08:57:48
-Original Message-
From: Tom Cat [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 21. Februar 2006 15:12
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Premature end of script headers
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL
On 2/21/06, Matt Weston [EMAIL PROTECTED] wrote:
Try changing it to hello.pl
Thanks. Just tried that doesn't seem to care what what the file is
name or what extension it has, it just keeps giving the Premature end
of script headers error.
I also tried just now adding
use CGI::Carp
:12 PM
Subject: [EMAIL PROTECTED] Premature end of script headers
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL with Apache 2.0.52.
The simplest script I have is:
#!/usr/bin/perl
print Hello;
In the error log I'm told:
[Tue Feb 21 08:57:48 2006
On Tuesday 21 February 2006 14:12, Tom Cat wrote:
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL with Apache 2.0.52.
The simplest script I have is:
#!/usr/bin/perl
print Hello;
That's not a CGI script.
In the error log I'm told:
[Tue Feb 21
-Original Message-
From: Tom Cat [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 21. Februar 2006 15:25
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Premature end of script headers
On 2/21/06, Matt Weston [EMAIL PROTECTED] wrote:
Try changing it to hello.pl
Thanks
On 2/21/06, Boyle Owen [EMAIL PROTECTED] wrote:
To clear up some of the confusing advice you've been getting:
- the extension is not important, .cgi is fine.
- you don't need the CGI:Carp module (don't complicate life unnecessarily)
Thanks! When I removed this line, it all of a sudden
I am running Apache 2.0.54 on Fedora (2.6.12-1.1398_FC4) and just
installed Big Sister.
I created a ScriptAlias directory called /bigsis/cgi/ with exactly the
same options as the existing cgi-bin directory, but when I place a perl
script in that directory it will not run. The errors in the httpd
On 8/19/05, Gonzales, Youn [EMAIL PROTECTED] wrote:
I am running Apache 2.0.54 on Fedora (2.6.12-1.1398_FC4) and just
installed Big Sister.
I created a ScriptAlias directory called /bigsis/cgi/ with exactly the
same options as the existing cgi-bin directory, but when I place a perl
script
23 matches
Mail list logo