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.\r\nI require a plugin that will allow me to excute a commnad line program for every displayed page.\r\nthat alone would be a great start_ but it will be even better if it will include some sort of macro support:\r\nthe 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:\r\n%REMOTE_ADDR = the ip address of the remote user\r\n%REFERER = the referer of the current user\r\n%USER_AGENT = the user agent of the user\r\n%REQUEST_URI = the requested page uri\r\nand so on_ as required by users.\r\nthose will be used like this:\r\n[prog_exec]\r\ncmd=php -r "echo %REMOTE_ADDR;"\r\n\r\nthe plugin will replace %REMOTE_ADDR with the ip of the current user.\r\netc.,defect,new,normal,Request-a-Hack,normal,,,,0.10
