I creates this little configuration in order to get notified whenever someone visits a particular URL I created.
More specifically, this configuration requires the following setup:
- Some program that sends a message to you, passed as parameters. In my case, an invocation could look like
/root/bin/msg this is a message - Apache2 running
- The ability to create and activate an apache2 configuration
The main purpose of this gist is to show to the world that apache can write log data not only to files, but also pipe it directly to scripts, in my case xargs.