The point of mod_trigger is to give you hooks into
each Apache request to launch triggers if certain
actions occur. You specify the actions through
directives that mod_trigger adds to the webserver.

The following is an example setup:
TriggerEngine On
TriggerMime text/plain /usr/local/sbin/log.pl
TriggerMime * /log.cgi
TriggerAgent "*" /log.cgi
TriggerAgent "M*" /log.cgi
TriggerAgent "*linux*" /log.cgi
TriggerLog On

This would turn mod_trigger on and call a cgi
for all types except text/plain. If the file
stats, then it is called from exec, if it
doesn't we try it as a CGI. You can call
perl scripts, PHP, Java Servlets... you
name it.

You will find a faq at http://software.tangent.org/

Have fun,
	-Brian Aker
	 Seattle, WA.

