Apache configuration to accept all data
- by ServerDown
Hi,
I have apache running on port 7979 to talk with a device that sends data to webserver and later will run php scripts to process and send reply xml.
The problem now is that it sends data like
POST HTTP/1.1
Content-Type:text/xml
Content-Length:369
Followed by XML
When apache sees this it gives a 400 error. Since the device cannot be changed is there any way to accept the full data sent from the device and write to some log? Currently apache simply keeps sending 400 errors back. If there was a way to log the entire xml or create some custom handler for 400 error then the xml could be read by a php script.
Looking forward to solutions.