Re: Why Can't I Get Apache to Post?

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

 



On 7/26/07, kvnsmnsn@xxxxxxxxxx <kvnsmnsn@xxxxxxxxxx> wrote:

> What happens on the machine where this code is working is that
> <$_SERVER[ "REQUEST_METHOD" ]> evaluates to "POST" so the first branch
> of the outer <if> statement gets executed, and the user is logged in.
> But on my machine <$_SERVER[ "REQUEST_METHOD" ]> evaluates to "GET",
> and one of <lfu> or <lfp> are undefined, so none of this code gets ex-
> ecuted at all.

Without reading your message in too much detail... The most common
problem that causes a POST request to be transformed to a GET is that
the request hits a redirect on the server. Clients will usually
transform POST to GET after a redirect. So check your config for
anything that could be causing the POST to be redirected, and try
tracing a request to see if a redirect comes through.

Joshua.

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


[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