Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to log the contents of all POST requests

Status
Not open for further replies.

danielbigham

Programmer
Feb 9, 2007
1
CA
The access_log file logs what GET CGI variables get passed to a script, but it doesn't log what POST CGI variables get passed.

I need to find some way to log these variables so that when problems occur with a script, I can go back and use the CGI POST variables to run the script in a debugger.

Anyone know how to do this?
 
The easiest way to do this is at the application level rather than the server level.

----------------------------
"Will work for bandwidth" - Thinkgeek T-shirt
 
You need mod_security. It does exactly what you are asking and much more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top