Help request for Apache cgi form post.

Help request for Apache cgi form post.

Post by mike mancin » Mon, 06 May 1996 04:00:00



I have a simple date cgi script working ok, But when I try a textbook
example of a form POST request, I only get my cgi script commands
displayed.  Any suggestions on what I might check, or other examples
I might look at to find my trouble.  My objective is to get data
back and forth from the netscape 2.01 browser and my cgi script
invoked by the Apache httpd server.

Thanks in Advance
Mike

 
 
 

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. ADSL as backup Internet Connection

3. filtering CGI requested with POST (apache 2)

4. Linux Books for newbie?

5. Apache, cgi forms, cgi programs - issues - restart resolves issue??

6. Terry Shannon Tech Talk on Tru64

7. apache - The requested method POST is not allowed for the URL /main.cgi

8. gpm won't shut up

9. Apache, cgi forms, cgi programs - Issues and problems

10. problem running cgi-forms on apache!!!!!! please help

11. I'm begging for help: multipart/form-data request rejected by Apache

12. Post form data in (to) Coldfusion (POST help?)