|
 |
apache_server thread: cross platform issues
Message #1 by "Tim Connop" <tim.connop@t...> on Fri, 15 Nov 2002 08:40:38 -0000
|
|
I've written a small perl CGI script that works fine on
w2k/apache2.0.36/activeperl 5.6.1. However when I run it on RH 8/Apache
2.0.40/Perl5.8 it will not retrieve any of the submitted data. Can
anyone suggest anything - I'm really at a loss as to why this would
happen.
Regards,
#!/usr/bin/perl
use CGI qw(:standard);
$hidden=param('SCREEN');
$input=param('T1');
print header;
print "Hidden tag: $hidden<p>Text input: $input";
<html><head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head><body>
<form action="http://www.mysite.com/cgi-bin/tim.cgi" method="POST">
<input type="hidden" value="you can't see me" name="SCREEN">
<input type="text" name="T1" size="20"><input type="submit"
value="Submit"
name="B1"></p>
</form></body></html>
Message #2 by "deez" <deezert@r...> on Fri, 22 Nov 2002 05:52:16
|
|
> I've written a small perl CGI script that works fine on
w2k/apache2.0.36/activeperl 5.6.1. However when I run it on RH 8/Apache
2.0.40/Perl5.8 it will not retrieve any of the submitted data. Can
anyone suggest anything - I'm really at a loss as to why this would
happen.
Regards,
#!/usr/bin/perl
use CGI qw(:standard);
$hidden=param('SCREEN');
$input=param('T1');
print header;
print "Hidden tag: $hidden<p>Text input: $input";
<html><head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head><body>
<form action="http://www.mysite.com/cgi-bin/tim.cgi" method="POST">
<input type="hidden" value="you can't see me" name="SCREEN">
<input type="text" name="T1" size="20"><input type="submit"
value="Submit"
name="B1"></p>
</form></body></html>
Message #3 by "Will Irvine" <irvinew@a...> on Fri, 22 Nov 2002 08:25:12 -0500
|
|
Check the permissions of your scripts, if that doesn't work, make sure the
path to your perl compiler on your redhat is correct.
----- Original Message -----
From: "deez" <deezert@r...>
To: "Apache Server" <apache_server@p...>
Sent: Friday, November 22, 2002 5:52 AM
Subject: [apache_server] Re: cross platform issues
> > I've written a small perl CGI script that works fine on
> w2k/apache2.0.36/activeperl 5.6.1. However when I run it on RH 8/Apache
> 2.0.40/Perl5.8 it will not retrieve any of the submitted data. Can
> anyone suggest anything - I'm really at a loss as to why this would
> happen.
>
> Regards,
>
> #!/usr/bin/perl
> use CGI qw(:standard);
> $hidden=param('SCREEN');
> $input=param('T1');
> print header;
> print "Hidden tag: $hidden<p>Text input: $input";
>
> <html><head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <title>New Page 1</title>
> </head><body>
>
> <form action="http://www.mysite.com/cgi-bin/tim.cgi" method="POST">
> <input type="hidden" value="you can't see me" name="SCREEN">
> <input type="text" name="T1" size="20"><input type="submit"
> value="Submit"
> name="B1"></p>
> </form></body></html>
>
>
Message #4 by simonds@s... on Sat, 23 Nov 2002 01:02:05
|
|
Have you got DAV enabled on your RH box? There is a bug with it and POST.
See if GET works. Bug report can be viewed at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13025
HTH
Eric
> I've written a small perl CGI script that works fine on
w2k/apache2.0.36/activeperl 5.6.1. However when I run it on RH 8/Apache
2.0.40/Perl5.8 it will not retrieve any of the submitted data. Can
anyone suggest anything - I'm really at a loss as to why this would
happen.
Regards,
#!/usr/bin/perl
use CGI qw(:standard);
$hidden=param('SCREEN');
$input=param('T1');
print header;
print "Hidden tag: $hidden<p>Text input: $input";
<html><head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head><body>
<form action="http://www.mysite.com/cgi-bin/tim.cgi" method="POST">
<input type="hidden" value="you can't see me" name="SCREEN">
<input type="text" name="T1" size="20"><input type="submit"
value="Submit"
name="B1"></p>
</form></body></html>
|
|
 |