-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
Hi Stas,
On Tuesday, February 4, 2003 at 2:47:43 AM, you wrote:
SB Lee Goddard wrote:
SB [...]
I don't know: you're doing this:
print Content-type: text/plain\n\n;
print Hello World\n;
Does it (probably not) make any difference if
you do a
Hi guys,
Thanks for your replies. Problem still not solved but I'll let
you know if I find an answer.
George.
Lee Goddard wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
Hi Stas,
On Tuesday, February 4, 2003 at 2:47:43 AM, you wrote:
SB Lee Goddard wrote:
SB [...]
I don't
Lee Goddard wrote:
I don't know: you're doing this:
print Content-type: text/plain\n\n;
print Hello World\n;
Does it (probably not) make any difference if
you do a full CRLF, as perldoc perlop:
For example, most networking protocols expect
and prefer a CR+LF (\015\012 or \cM\cJ) for
Hi Lee,
Thanks for your reply. I tried the script you sent and it failed
with document contains no data. This is odd because I
previously found that mod_perl API scripts ran ok but CGI scripts
running under mod_perl failed.
The script printed some output in the log which I have attached
below.
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
Hi George,
On Monday, February 3, 2003 at 10:47:47 PM, you wrote:
GS Hi Lee,
GS Thanks for your reply. I tried the script you sent and it failed
GS with document contains no data. This is odd because I
GS previously found that mod_perl API scripts
Lee Goddard wrote:
[...]
I don't know: you're doing this:
print Content-type: text/plain\n\n;
print Hello World\n;
Does it (probably not) make any difference if
you do a full CRLF, as perldoc perlop:
For example, most networking protocols expect
and prefer a CR+LF (\015\012 or
Hi Stas,
Thanks for your reply.
The file perms are correct and nothing is printed to the logs.
The scripts do run. If you write a script with a redirect in it
for instance, the redirect is made. They just don't seem to
print anything to stdout.
Regards, George Savvides.
Stas Bekman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
Hi George,
I've not seen any of this thread other than what's
below, but have you had all the headers output correctly?
Try running this after setting $url, and see what you get:
use LWP::UserAgent;
$url = http://195.117.126.24;;
$ua =
George Savvides wrote:
Hi all,
I am having problems running cgi scripts under mod_perl. I
realise that this question has been asked before but I have not
been able to find a reference to this particular behaviour in the
manuals or newsgroups.
Problem summary
---
Scripts running