Apache 1.3.9 form post problem

Apache 1.3.9 form post problem

Post by Fred Backma » Tue, 09 Nov 1999 04:00:00



Hi folks!

I have a problem with posting form data on Apache 1.3.9 running on
Solaris 7. I have this small CGI Perl script which is printing out data
posted from an HTML form, but sometimes there seems to be no data posted
and I cannot figure out why!

The CGI (which also reports HTTP headers) says the content type is
multipart/form-data (which I want it to be), and content length about
1100 (which seems okay) but when the perl CGI is waiting for the actual
data to arrive, there is sometimes nothing there while other times there
is all the data needed, ie boundaries and all that.

Please can someone advice what is happening? Is there an Apache setting
missing or something?

cheers
Fred

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache 1.3.9 form post problem

Post by CQM Webmaste » Tue, 09 Nov 1999 04:00:00


tail the error.log file


Quote:> Hi folks!

> I have a problem with posting form data on Apache 1.3.9 running on
> Solaris 7. I have this small CGI Perl script which is printing out data
> posted from an HTML form, but sometimes there seems to be no data posted
> and I cannot figure out why!

> The CGI (which also reports HTTP headers) says the content type is
> multipart/form-data (which I want it to be), and content length about
> 1100 (which seems okay) but when the perl CGI is waiting for the actual
> data to arrive, there is sometimes nothing there while other times there
> is all the data needed, ie boundaries and all that.

> Please can someone advice what is happening? Is there an Apache setting
> missing or something?

> cheers
> Fred

> Sent via Deja.com http://www.deja.com/
> Before you buy.


 
 
 

Apache 1.3.9 form post problem

Post by Fred Backma » Wed, 10 Nov 1999 04:00:00


Nothing out of the ordinary has been logged.

FYI - I've been working with web servers, CGI scripts, and system
admininstration since the early 90s so checking the logs was one of the
first things I did.

I forgot to add that we're also using BigIP. I cannot really see why it
would make a difference, but the traffic is routed through the BigIP so
it shouldn't be ignored.



Quote:> tail the error.log file

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

Apache 1.3.9 form post problem

Post by Arunas Salkauska » Thu, 11 Nov 1999 04:00:00


I recently had a similar problem, but it appeared to have been caused by
mod_ssl.

I'm guessing this isn't your case?

--
- Arunas Salkauskas
High Point Designs
www.highpointdesigns.com


>Hi folks!

>I have a problem with posting form data on Apache 1.3.9 running on
>Solaris 7. I have this small CGI Perl script which is printing out data
>posted from an HTML form, but sometimes there seems to be no data posted
>and I cannot figure out why!

>The CGI (which also reports HTTP headers) says the content type is
>multipart/form-data (which I want it to be), and content length about
>1100 (which seems okay) but when the perl CGI is waiting for the actual
>data to arrive, there is sometimes nothing there while other times there
>is all the data needed, ie boundaries and all that.

>Please can someone advice what is happening? Is there an Apache setting
>missing or something?

>cheers
>Fred

>Sent via Deja.com http://www.deja.com/
>Before you buy.

 
 
 

Apache 1.3.9 form post problem

Post by Fred Backma » Fri, 12 Nov 1999 04:00:00




Quote:> I recently had a similar problem, but it appeared to have been caused
by
> mod_ssl.

> I'm guessing this isn't your case?

Not that I know, no. We're not using mod_ssl. Besides, even if we do the
whole thing in Java (and thus not using mod_perl at all) it is still
failing even then.

Thanks anyway for sharing your thoughts!
cheers
Fred

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache 1.3.9 form post problem

Post by Ilia Permino » Sat, 13 Nov 1999 04:00:00


Hello,

Does your script print anything to stdout before or during reading of
posted data? If so, your script is in deadlock with mod_cgi, which does
not read cgi-script output until all the request body is sent to
the cgi-script.

Ilia


> Hi folks!

> I have a problem with posting form data on Apache 1.3.9 running on
> Solaris 7. I have this small CGI Perl script which is printing out data
> posted from an HTML form, but sometimes there seems to be no data posted
> and I cannot figure out why!

> The CGI (which also reports HTTP headers) says the content type is
> multipart/form-data (which I want it to be), and content length about
> 1100 (which seems okay) but when the perl CGI is waiting for the actual
> data to arrive, there is sometimes nothing there while other times there
> is all the data needed, ie boundaries and all that.

> Please can someone advice what is happening? Is there an Apache setting
> missing or something?

> cheers
> Fred

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

1. Apache mod_rewrite POST form CGI handler parameter problem

Hi,

My mod_rewrite (Apache 1.3.6) doesn't redirect
FORM handler's CGI parameters.

I have a form .html (testform.html) which has:

<form method="POST"
action="http://www.myserver.com/cgi-bin/testform.p
l">
  <p><input type="text" name="T1" size="20"><input
type="submit" value="Submit"
 name="B1"><input
  type="reset" value="Reset" name="B2"></p>
</form>

I have a RewriteRule as:

RewriteRule ^/(cgi-bin/.+)$
http://www1.myserver.com/$1 [R,L]

------
Pressing the Submit button on the form triggers a
rewrite to the form handler
http://www1.myserver.com/cgi-bin/testform.pl, but
the parameters of T1 is gone!!

Calling
http://www.myserver.com/cgi-bin/testform.pl?T1=abc
works.

Pls advise what's missing.

Thks,
Francis Kam
Uniforce System Ltd.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

2. How do I patch Aix 4.1.5? - please help this newbie

3. Form posting problem and post data issue

4. Changing user priority default

5. Apache: FORM ACTION POST fails, GET WORKS...Why?

6. Video Cards for X

7. Apache/Solaris slow POSTing large file using enctype="multipart/form-data"

8. PrinteProblem -- Clicks and Wizzes (NeXT)

9. apache 1.1.1 and POST forms

10. Where does REMOTE_USER appear with POST from a form under Apache 1.1.1?

11. Help request for Apache cgi form post.

12. Apache 1.2.0 (form's POST)