Date: Wed, 29 Apr 1998 10:25:41 +0100 From: Manar Hussain <manar@ivision.co.uk> To: Khetan Gajjar <khetan@iafrica.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Adding footers automatically to served HTML pages Message-ID: <3.0.5.32.19980429102541.009c2100@stingray.ivision.co.uk> In-Reply-To: <Pine.BSF.3.96.980429011243.12700t-100000@chain>
next in thread | previous in thread | raw e-mail | index | archive | help
At 01:14 29/04/98 +0200, Khetan Gajjar wrote: >Hi. > >This isn't stricly a FreeBSD query, but I thought I might ask, >since this is a list for ISP's - and someone here _must_ have >done this before :-) > >Using Apache 1.2.6 on a 2.2.6-STABLE machine. > >I'd like to setup Apache to append a footer file to all HTML >pages served by it. Any points on how to do this ? Sounds like a rather nasty thing to do and prone to breaking lots of pages - unless it's with the consent of all the page authors. Probably the easiest way to have all static pages fo this is to run them all through a script- you can do this by having a high level rewrite rule to have all .htm(l) file handled by the script. This is the "cheap" alternative to knocking up a simple apache module (or module modification) that does some tinkering on documents just before serving it. All of it makes me cringe more than a little though. Manar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980429102541.009c2100>