Apache mod_rewrite POST form CGI handler parameter problem

Apache mod_rewrite POST form CGI handler parameter problem

Post by f.. » Wed, 14 Jul 1999 04:00:00


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"
  <p><input type="text" name="T1" size="20"><input
type="submit" value="Submit"
  type="reset" value="Reset" name="B2"></p>

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!!


Pls advise what's missing.

Francis Kam
Uniforce System Ltd.

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


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


This is a very strange occurance.

Running Apache 1.3.19
Sun Ultra 2 w/512 meg

We are running several web servers on this box.
Maybe about 25 total. We also use a shopping cart program
written in cgi. Our email form scripts are written in cgi.
Ok, here is the weird and strange happenings we are running into.

Every so often the shopping cart program will not allow
you to "view the next 25 items". Clicking that button just brings them
back to the shopping carts home page.
When this happens with the cgi forms, submitting the form
returns an error as if their is a field missing and there are not any
missing or empty fields.

Now if I "./apachectl restart", both of the above seems to work fine.
Then a couple hours, sometimes a day, sometimes a few days or even a week later
it happens again. We never know unless a client calls about the form
not working.

I'm thinking there may be some sort of process that gets killed.
Any ideas on what that process would be?
Any way to monitor the system to find out what process that would
be or what is happening to it?

I am lost with this issue.
Any help is greatly appreciated.



2. PCI_ISDN_Card with MkLinux

3. Help request for Apache cgi form post.

4. Local Name Server

5. Piping a Handler to a Handler in apache 1.3.0, i.e., ssi in cgi output

6. pmapi lpocation

7. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

8. Default Virtual Resolution?

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

10. POST multipart/form-data handler?

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

12. Apache 1.3.9 form post problem