Nick,

> Use mod_filter instead.

Thanks for that good suggestion. I worked something up to test this
with mod_filter and mod_substitute and it seems to be working. Just
including my config here for the next poor sap that has this question.
Thanks again...

Chris

* * *

/etc/httpd/conf.d/replace.conf:

#
# Chris stuff for testing of replace via filter

#SetEnv filter_errordocs

LoadModule substitute_module modules/mod_substitute.so
LoadModule filter_module modules/mod_filter.so

FilterDeclare replace
FilterProvider replace SUBSTITUTE Content-Type $text/html
FilterChain +replace
# for logging (not sure how helpful the logging is...)
FilterTrace replace 1
Substitute "s/Apache HTTP Server Version/Apache HTTP Server Version Boo Yah/n"

---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to