From owner-freebsd-isp Wed Apr 29 02:26:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05446 for freebsd-isp-outgoing; Wed, 29 Apr 1998 02:26:57 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from stingray.ivision.co.uk (stingray.ivision.co.uk [195.50.91.40]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA05439 for ; Wed, 29 Apr 1998 02:26:52 -0700 (PDT) (envelope-from manar@ivision.co.uk) Received: from pretender.ivision.co.uk [195.50.91.43] by stingray.ivision.co.uk with smtp (Exim 1.62 #2) id 0yUT8W-0002HY-00; Wed, 29 Apr 1998 10:26:44 +0100 Message-Id: <3.0.5.32.19980429102541.009c2100@stingray.ivision.co.uk> X-Sender: manarpop@stingray.ivision.co.uk X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 29 Apr 1998 10:25:41 +0100 To: Khetan Gajjar From: Manar Hussain Subject: Re: Adding footers automatically to served HTML pages Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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