]> granicus.if.org Git - apache/commitdiff
Add syntax highlight + change separator in regex (# --> |) in order to please syntax...
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 10 Feb 2017 19:32:06 +0000 (19:32 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 10 Feb 2017 19:32:06 +0000 (19:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1782508 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_fcgi.xml

index cc619ec16a59504a54082efac6a04249a2d07782..fd756e6f06659c6e0f712df3ce3d38ba1df404a9 100644 (file)
@@ -273,14 +273,16 @@ If omitted, the variable is set to an empty string.</dd>
 </dl>
 
 <example>
-# A basic, unconditional override<br/>
-ProxyFCGISetEnvIf "true" PATH_INFO "/example"<br/>
-<br/>
-# Use an environment variable in the value<br/>
-ProxyFCGISetEnvIf "true" PATH_INFO "%{reqenv:SCRIPT_NAME}"<br/>
-<br/>
-# Use captures in the conditions and backreferences in the replacement<br/>
-ProxyFCGISetEnvIf "reqenv('PATH_TRANSLATED') =~ m#(/.*prefix)(\d+)(.*)#" PATH_TRANSLATED "$1$3"<br/>
+   <highlight language="config">
+# A basic, unconditional override
+ProxyFCGISetEnvIf "true" PATH_INFO "/example"
+
+# Use an environment variable in the value
+ProxyFCGISetEnvIf "true" PATH_INFO "%{reqenv:SCRIPT_NAME}"
+
+# Use captures in the conditions and backreferences in the replacement
+ProxyFCGISetEnvIf "reqenv('PATH_TRANSLATED') =~ m|(/.*prefix)(\d+)(.*)|" PATH_TRANSLATED "$1$3"
+   </highlight>
 </example>
 
 </usage>