PLEASE NOTE: mod_layout is not available for Apache HTTPD v2_2_x. The version of mod_layout for Apache HTTPD v2.x is, in the authors words "poorly supported". As such, we have decided to drop support for it.
The package is documented in a Frequently Asked Questions document, and a README file.
Here is a quick cookbook for adding a footer line.
First, install mod_layout.
bash$ setup upd bash$ upd install mod_layout -G -c
Next put a symbolic link to the mod_layout shared object file in your server area. This assumes your webserver configurations are stored under /fnal/www and your server is "myserver" -- for many configurations this would be under /afs/fnal/files/expww for example.
bash$ cd /fnal/www bash$ mkdir .modules bash$ cd .modules bash$ setup mod_layout bash$ ln -s $MOD_LAYOUT_DIR/mod_layout.so .
And put a few added configration directives on the end of your httpd.conf
bash$ cd ../myserver/conf bash$ cat >> httpd.conf <<EOF #------------------------------------- # mod_layout directives # LoadModule layout_module ../.modules/mod_layout.so LayoutFooterTXT "<br><hr><a href=\"http://www.fnal.gov/pub/disclaim.html\">Legal Notices</a>" LayoutHandler httpd/unix-directory LayoutComment On EOF bash$
And now restart your server
bash$ ups stop apache Stopping Apache server for myserver.fnal.gov on port 80 account myuser bash$ ups start apache Starting Apache server for myserver.fnal.gov on port 80 account myuser