httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy McDonald <>
Subject [users@httpd] mod_ext_filter question
Date Wed, 30 Apr 2003 17:53:05 GMT
>From the docs it explains the following, which is exactly
what I want to do:

-------------------[Begin Doc Snippet]-----------------
# mod_ext_filter directive to define a filter which
# replaces text in the response
ExtFilterDefine fixtext mode=output intype=text/html \

cmd="/bin/sed s/verdana/arial/g"

<Location />

# core directive to cause the fixtext filter to
# be run on output
SetOutputFilter fixtext


-------------------[End Doc Snippet]--------------------

If I wanted to add another change should I do it something like this:

ExtFilterDefine fixtext2 mode=output intype=text/html \

cmd="/bin/sed s/times/palatino/g"

(Just using fonts to keep with the original example)
and then in my <Location> put:

SetOutputFilter fixtext, fixtext2


SetOutputFilter fixtext
SetOutputFilter fixtext2



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