Dashboard > HOW-TOS > Fancy HTTP titles and footers
HOW-TOS Log In   View a printable version of the current page.
Fancy HTTP titles and footers
Added by Alex Polvi, last edited by Alex Polvi on Oct 03, 2005  (view change)
Labels: 
(None)

This is in regards to the header and footer used on http://ftp.osuosl.org/

header and footer directives

Using mod_autoindex we specify the following directives:

IndexOptions +SuppressHTMLPreamble
HeaderName /header-inc/<tab>-HEADER.html
ReadMeName /header-inc/README.html

HeaderName: the header
ReadMeName: the footer

See apache docs for full details.

bandwidth bar

We use the 'bwbar' utility. In a daemon mode it will write the png bar every /n/ seconds. We include this file in the footer. It will also write out a textual form of the data. Since do not use server side includes, we run a little bash script on cron that generates the footer file every minute.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators