Hi!
It's an extremely twisted way to do this but maybe you don't have any choice:
https://httpd.apache.org/docs/2.2/mod/mod_substitute.html
You could rewrite on the fly something on that page to add your message...
Good luck and have a nice day!
Nick