Mailing List Archive

[Bug 65233] New: Have mod_dav trigger an action on file manipulation
https://bz.apache.org/bugzilla/show_bug.cgi?id=65233

Bug ID: 65233
Summary: Have mod_dav trigger an action on file manipulation
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: All
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P2
Component: mod_dav
Assignee: bugs@httpd.apache.org
Reporter: apache@ohreally.nl
Target Milestone: ---

Hi,

It would be nice if mod_dav could trigger an action when a file or directory is
added, modified or deleted. This would enable me to run a virus scanner, send
out an email or an sms, copy the file to a version control system, etc. I'm
thinking of a simple setting like

DAVNotify /usr/local/bin/davtrigger.sh

This would allow me to execute any action I like.

The command in question should then probably be called with these arguments:
- the manipulation (add, modify, move, delete, ...)
- username of the user who made the manipulation
- the path to the manipulated file

Having this would really make me happy. Thanks for considering.

Cheers,
Rob LA LAU

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org