Afficher un message
Vieux 07/02/2005, 21h51   #3
Jim Hayter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Apache 2.0] Parameters of POST method in Custom Logfile

On Mon, 07 Feb 2005 15:21:51 +0100, in
comp.infosystems.www.servers.unix, Christian Meisl
<christian.meisl@tugraz.at> wrote:

>Is there any possibility to log the POST parameters a script gets via
>Apache? Unfortunately I haven't found any switch for the LogFormat
>directive.


Not as far as I know.

<snip form>

>I'd like to have the values of the "funk" and "address" fields in the
>Apache log file. Can this be done? And if yes, how?


You can have your script write the posted values into environmental
variables and then log the environmental variables - \"%{FOOBAR}e\"
will add the value of FOOBAR to the log.

Jim
  Réponse avec citation
 
Page generated in 0,04984 seconds with 9 queries