File: README

package info (click to toggle)
libapache-mod-trigger 1.1-4.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 92 kB
  • ctags: 70
  • sloc: ansic: 326; makefile: 108; sh: 92
file content (27 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.