Re: [users@httpd] Problem with POST method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is almost certainly an error to have the action of a form reference a static webpage. At a guess, you are settinng the action to the same static page that contained the form. That's bound to cause problems, not least of which would be confusion!
Every <FORM> that I've ever seen sets the action to a URL which runs a script of some sort or another.  How else are you going to process the input from the form?

On 14/11/06, lorenzo <l.bolzani@xxxxxxxxx> wrote:

Hi all.
I'm sending a simple http POST request and the browser hangs waiting for
a reply.

This is my test page

<html>
        <form action="" method="post">
                <input type="text" name="aaa"/>
                <input type="text" name="bbb"/>
                <input type="submit"/>
        </form>
</html>

I have this problem both with httpd-2.2.3 and 2.0.46.
I have no problems with GET requests.
KeepAlive is turned off.

If I turn KeepAlive on things are a little different: if I request the
test page and quickly submit the form there is no problem. If I wait
enough to make the connection time out the request remains pending.

I think this is too big to be an apache problem, so I suspect there is
something in os/firewall configuration to fix.

Have you ever seen something like this? Do you have any ideas?


Thanks, Bye

Lorenzo



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux