Got a better idea on how to do this?

Academic environment.  When employees (professors) retire, we commonly
leave their personal web pages (e.g. ~user) in place, and they commonly
continue to have access to our Unix machines.

Management (The Boss) has decreed that "all such pages shall be wrapped in
a disclaimer notice to the effect that this person has retired / relocated
/ whatever and that we have left this stuff in place as a courtesy and
that the views / opinions / scrofulous drivel found here in no way
reflects the opinion of our department or our institution and we've got
nothing to do with keeping it updated".  Or something like that.

Since editing source isn't really a viable option for (I think) obvious
reasons (including that these retirees will likely have access to their
sources), you'd like to inject some additional content on the fly.

mod_substitute looks like a possible solution, by means of introducing a
div immediately after the body tag.  Or perhaps mod_ext_filter.  e.g. the
right-hand part of the substitution would be roughly akin to  !<body><div
style="color:white;background:red;height:20px;width:100%">This person has
moved into the next phase of his or her life and is no longer employed
here and the opinions and other drivel appearing here is no longer our
stuff.</div>! applied at the appropriate ~user directories.

I can appreciate that this is almost certainly a less than ideal
solution.  It's not clear to me that mod_ext_filter would provide a better
solution.

It's pretty much a stock apache 2.2 server, nothing overly fancy here.

Thoughts / suggestions?

Oscar.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to