[ Date Index ][
Thread Index ]
[ <= Previous by date /
[ Next by date /
thread => ]
[LUG] Apache: only serve documents a day or more old?
Anyone clever with Apache here?
Strip incoming email attachments into a named directory - one for the whole
Deliver them to users via the intranet webserver - IE the directory from
which attachments are served is one that the webserver will present.
24 hours is enough for the anti-virus companies to have identified and
produced a fix for a virus released yesterday (but substitute 1 hour 4 hours
8 hours 1 week or whatever you like)
Now, using a daemon to copy/mv each incoming file from the ultra-quarantine
zone into the webserver's directory after 24h is reasonable enough, but can
one configure Apache to do this from a single directory, presenting a custom
message (defined in the .htaccess file) until 24 h is up, and then agreeing
It would also be useful to run the file through word2x or similar and present
that, and perhaps the pragmatic approach is to say
age < 24h -> ASCII
age =<24h -> deliver file
From one of the Linux desktops of Dr Adrian Midgley
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.