Apache Server configuration support - ProxyPass & POST data problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2005 > ProxyPass & POST data problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ProxyPass & POST data problem
Stefan Walter

2005-01-20, 5:59 pm

Hello,

I want to use a php mailscript to mail form data using a POST request.
We are using an Apache as a proxy for our CMS. All requests to / are
redirected to the CMS. I added a ProxyPass / ProxyPassReverse
statement for the mailscript in the htdocs like this:

ProxyPass /mailskript/ http://localhost/mailskript/
ProxyPassReverse /mailskript/ http://localhost/mailskript/

In the mailscript directory (in htdocs) is the php mailscript.
The call of the script works so far, that an email is sent, but it
contains no form data. All occasions where data from the form should
be inserted are empty. It seems that all POST data is lost.

The script works on a different server without Apache ProxyPass stuff.

Am I missing something or is that a problem?

Thanks in advance!
Marvin
HansH

2005-01-20, 5:59 pm

"Stefan Walter" <marvin79@gmx.de> schreef in bericht
news:8e6cc55e.0501201057.59ef43fd@posting.google.com...
> The call of the script works so far, that an email is sent, but it
> contains no form data. All occasions where data from the form should
> be inserted are empty. It seems that all POST data is lost.

Redirections, META-refresh too, might cause the loss of POSTed data.

> The script works on a different server without Apache ProxyPass stuff.

How about without the proxy thingies on the 'new' server?

Please specify version of OS, Apache and PHP, and the way php is
invoked -module or CGI-

HansH


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com