httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy McDonald <...@bsdshell.dyndns.org>
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

</Location>

-------------------[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

or

SetOutputFilter fixtext
SetOutputFilter fixtext2

???

Thanks
Jimmy

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message