summaryrefslogtreecommitdiff
path: root/docs/manual/content-negotiation.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-27 20:38:25 +0000
committerDaniel Gruno <humbedooh@apache.org>2012-04-27 20:38:25 +0000
commit48c29746a5b998addf6a7ec57fbd49a66b71cdc9 (patch)
tree87b7d9ffc21b920671e9706a4f364b10f5c49c0f /docs/manual/content-negotiation.xml
parentc9756c23a88bcec2355c81aeb7179185b3bc083c (diff)
downloadhttpd-48c29746a5b998addf6a7ec57fbd49a66b71cdc9.tar.gz
Update syntax highlight for content-neg
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331584 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/content-negotiation.xml')
-rw-r--r--docs/manual/content-negotiation.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/manual/content-negotiation.xml b/docs/manual/content-negotiation.xml
index 2076152d20..fbd70a00f9 100644
--- a/docs/manual/content-negotiation.xml
+++ b/docs/manual/content-negotiation.xml
@@ -120,7 +120,7 @@
defines a file suffix as <code>type-map</code>; this is best done
with</p>
-<example>AddHandler type-map .var</example>
+<highlight language="config">AddHandler type-map .var</highlight>
<p>in the server configuration file.</p>
@@ -223,7 +223,7 @@
module="mod_dir">DirectoryIndex</directive> directive, if the
server is trying to index a directory. If the configuration files
specify</p>
-<example>DirectoryIndex index</example>
+<highlight language="config">DirectoryIndex index</highlight>
<p>then the server will arbitrate between <code>index.html</code>
and <code>index.html3</code> if both are present. If neither
are present, and <code>index.cgi</code> is there, the server
@@ -512,8 +512,10 @@
the normal negotiation process applies.</p>
<example><title>Example</title>
- SetEnvIf Cookie "language=(.+)" prefer-language=$1<br />
- Header append Vary cookie
+ <highlight language="config">
+SetEnvIf Cookie "language=(.+)" prefer-language=$1
+Header append Vary cookie
+ </highlight>
</example>
</section>
</section>