﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
712,A plugin to run a command line program for every displayed page,omry,anybody,"I am working on a php statistics system called [http://firefang.net/english/firestats/ FireStats] and I would like to use it to monitor trac usage.
I require a plugin that will allow me to excute a commnad line program for every displayed page.
that alone would be a great start, but it will be even better if it will include some sort of macro support:
the command line to execute (which should of course come from the configuration file) may contain special constants which will be replaced by run time parameters, for example:
%REMOTE_ADDR = the ip address of the remote user
%REFERER = the referer of the current user
%USER_AGENT = the user agent of the user
%REQUEST_URI = the requested page uri
and so on, as required by users.
those will be used like this:
[prog_exec]
cmd=php -r ""echo %REMOTE_ADDR;""

the plugin will replace %REMOTE_ADDR with the ip of the current user.
etc.",defect,new,normal,Request-a-Hack,normal,,,,0.10
