Aug 16, 2006 #1 gchen Programmer Nov 14, 2002 174 US Is it true Apache log will have complete params list if the form method is GET while no parms being logged if the method used is POST. Or it has to do with Apache log configuration? Thanks a bunch!
Is it true Apache log will have complete params list if the form method is GET while no parms being logged if the method used is POST. Or it has to do with Apache log configuration? Thanks a bunch!
Aug 16, 2006 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi More exactly, the parameters are not logged. Only the requested URL is logged. See what Apache can write in a log file : http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#formats I would simply write a small function in that server side script which receives the POST request to write it in a separate file. Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi More exactly, the parameters are not logged. Only the requested URL is logged. See what Apache can write in a log file : http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#formats I would simply write a small function in that server side script which receives the POST request to write it in a separate file. Feherke. http://rootshell.be/~feherke/
Aug 16, 2006 Thread starter #3 gchen Programmer Nov 14, 2002 174 US Hi Feherke, I checked the link you provided for Apache log config and I found... %...q The query string (prepended with a ? if a query string exists, otherwise an empty string) This is what I need but I just not sure should I use POST or GET in my form. Any idea? Thanks! Upvote 0 Downvote
Hi Feherke, I checked the link you provided for Apache log config and I found... %...q The query string (prepended with a ? if a query string exists, otherwise an empty string) This is what I need but I just not sure should I use POST or GET in my form. Any idea? Thanks!
Aug 16, 2006 #4 lgarner IS-IT--Management Jan 26, 2002 2,348 US GET is the method which puts the variables in the URL. Upvote 0 Downvote
Aug 16, 2006 Thread starter #5 gchen Programmer Nov 14, 2002 174 US Got it! Thanks a lot! Upvote 0 Downvote