httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: [users@httpd] complex question
Date Wed, 30 Apr 2003 02:00:14 GMT
On Tue, 29 Apr 2003, Jimmy McDonald wrote:

> How would I go about implementing a script
> that the apache server executes on everything
> it passes to the browser so that it scans
> for certain patterns and rewrites them before
> the browser gets them?
> I am thinking something with a
> RewriteMap foo
> I'm not sure how to write the Rule though.

While, as mentioned, mod_ext_filter is the way to do this on Apache 2.0,
if you are using Apache 1.3, you probably want the Action directive,
which will run a cgi program for you whenever a document of a particular
type is requested. Your cgi can then process the file before it is sent
to the browser. This is very inefficient, but may accomplish what you
are trying to do. Perhaps see also Script.

Rich Bowen -
... and another brother out of his mind, and another brother out at New
York (not the same, though it might appear so)
	Somebody's Luggage (Charles Dickens)

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