You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Kanipe, Brad" <br...@cendian.com> on 2004/10/11 21:24:42 UTC

[users@httpd] Mod_proxy using HTTP POST

Has anyone successfully set up a reverse proxy server that handles HTTP
POST's. Mine handles GET just fine. 
 
Here is a brief snippet from the access log. Note the "GET...LOGIN". The
POST is me submitting the login information to the target server through
the proxy. The next line is the same login GET from before. It's like
I'm losing the content in the POST. 
 
10.10.23.41 - - [11/Oct/2004:14:00:13 -0400] "GET /vendors/portal/
HTTP/1.1" 302 -
10.10.23.41 - - [11/Oct/2004:14:00:13 -0400] "GET
/vendors/portal/index.jsp HTTP/1.1" 302 -
10.10.23.41 - - [11/Oct/2004:14:00:13 -0400] "GET
/vendors/portal/index.jsp?epi-content=LOGIN HTTP/1.1" 200 -
10.10.23.41 - - [11/Oct/2004:14:00:13 -0400] "GET
/vendors/portal/templates/template0005/cURdYabRcYRWXWVXZRRVUefRfbSYRQaQ/
spacer.gif
 HTTP/1.1" 404 -
10.10.23.41 - - [11/Oct/2004:14:00:18 -0400] "POST
/vendors/portal/index.jsp?epi-content=LOGIN&epi-process=process_login.js
p HTTP/1.
1" 302 -
10.10.23.41 - - [11/Oct/2004:14:00:20 -0400] "GET
/vendors/portal/index.jsp?epi-content=LOGIN HTTP/1.1" 200 -


I started to try using the mod_cache extension, but had problems loading
it after the apxs compile. I figured I'd ask again since I sent my
original question out late Friday afternoon. I cannot be the first
person to come across this scenario.

Thanks in advance.



Brad Kanipe 
Sr. Systems Architect 

Cendian Corporation 
Six Concourse Parkway, Suite 2800 
Atlanta, GA 30328 

T 678.459.3772 
F 678.459.3737 
M 770.331.4109 


NOTICE: This communication may contain privileged or other confidential
information. If you are not the intended recipient, or believe that you
have received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the information. Also, please
indicate to the sender that you have received this communication in
error, and delete the copy you received. Thank you.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Mod_proxy using HTTP POST

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 11 Oct 2004 15:24:42 -0400, Kanipe, Brad
<br...@cendian.com> wrote:
> Has anyone successfully set up a reverse proxy server that handles HTTP
> POST's. Mine handles GET just fine.

> 10.10.23.41 - - [11/Oct/2004:14:00:18 -0400] "POST
> /vendors/portal/index.jsp?epi-content=LOGIN&epi-process=process_login.js
> p HTTP/1.
> 1" 302 -

The origin server is sending a 302 redirect in response to the POST. 
That is almost always a bad idea.  Find out why it is doing that and
fix it.

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org