httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zac Stevens <>
Subject Re: [users@httpd] Adding banners
Date Sun, 17 Aug 2003 02:06:55 GMT
On Sat, Aug 16, 2003 at 07:01:37PM -0700, Brian Dessent wrote:
> Cody Harris wrote:
> > Is there or isn't there a way to dump a file into another (i'm ignoring all
> > html rules here, all i want is a way to dump one file into another with
> > Apache).
> You could use mod_rewrite to rewrite all requests to a particular
> perl/php/cgi script, with the original request as an argument.  This
> script could do whatever you want in terms of including or modifying the
> content.  However, this would mean the pages are no longer static (and
> wouldn't be cached as well) and there would be some CPU overhead of
> course.

Or, if you're using Apache 2.0, you can define an output filter to do the
same thing.  Filters can be external scripts and their presence is not
apparent to the client.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message