mod_substitute.xml revision 643ed38ed1c7634b7306f1eb1058e1ce8c543686
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
6b5e5868e7ebf1aff3a5abd7d0c4ef0e5fbf3648Garrett D'Amore<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore<!-- $LastChangedRevision$ -->
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore Licensed to the Apache Software Foundation (ASF) under one or more
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore contributor license agreements. See the NOTICE file distributed with
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore this work for additional information regarding copyright ownership.
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore The ASF licenses this file to You under the Apache License, Version 2.0
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore (the "License"); you may not use this file except in compliance with
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore the License. You may obtain a copy of the License at
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore Unless required by applicable law or agreed to in writing, software
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore distributed under the License is distributed on an "AS IS" BASIS,
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore See the License for the specific language governing permissions and
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore limitations under the License.
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore<modulesynopsis metafile="mod_substitute.xml.meta">
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore<description>Perform search and replace operations on response bodies</description>
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore <p><module>mod_substitute</module> provides a mechanism to perform
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore both regular expression and fixed string substitutions on
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore response bodies.</p>
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore<directivesynopsis>
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore<description>Pattern to filter the response content</description>
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore<syntax>Substitute <var>s/pattern/substitution/[infq]</var></syntax>
aa64fa16549f13233681f4b40e50fb5b1c18a97cGarrett D'Amore <p>The <directive>Substitute</directive> directive specifies a
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore search and replace pattern to apply to the response body.</p>
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore <p>The meaning of the pattern can be modified by using any
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore combination of these flags:</p>
ProxyPass /blog/ http://internal.blog.example.com
ProxyPassReverse /blog/ http://internal.blog.example.com/