summaryrefslogtreecommitdiffstats
path: root/docs/manual/handler.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-26 16:43:33 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-04-26 16:43:33 +0200
commit74e009ce0a1fda0fd56efb8a573beeece725f810 (patch)
tree9b0601a33881aafe525ac43fed28cd120b8b9a94 /docs/manual/handler.xml
parentsyntax for misc/ and platform/ (diff)
downloadapache2-74e009ce0a1fda0fd56efb8a573beeece725f810.tar.xz
apache2-74e009ce0a1fda0fd56efb8a573beeece725f810.zip
Syntax for files in /
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/handler.xml')
-rw-r--r--docs/manual/handler.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/manual/handler.xml b/docs/manual/handler.xml
index 8fdb253b65..98dc9599bf 100644
--- a/docs/manual/handler.xml
+++ b/docs/manual/handler.xml
@@ -105,10 +105,10 @@
the <code>html</code> extension to trigger the launch of the
<code>footer.pl</code> CGI script.</p>
- <example>
- Action add-footer /cgi-bin/footer.pl<br/>
- AddHandler add-footer .html
- </example>
+ <highlight language="config">
+Action add-footer /cgi-bin/footer.pl
+AddHandler add-footer .html
+ </highlight>
<p>Then the CGI script is responsible for sending the
originally requested document (pointed to by the
@@ -126,11 +126,11 @@
the <code>send-as-is</code> handler, regardless of their
filename extensions.</p>
- <example>
- &lt;Directory /web/htdocs/asis&gt;<br/>
- <indent>SetHandler send-as-is<br/></indent>
- &lt;/Directory&gt;
- </example>
+ <highlight language="config">
+&lt;Directory /web/htdocs/asis&gt;
+ SetHandler send-as-is
+&lt;/Directory&gt;
+ </highlight>
</section>
</section>
@@ -142,9 +142,9 @@
you may wish to make use of. Specifically, a new record has
been added to the <code>request_rec</code> structure:</p>
- <example>
+ <highlight language="c">
char *handler
- </example>
+ </highlight>
<p>If you wish to have your module engage a handler, you need
only to set <code>r-&gt;handler</code> to the name of the