summaryrefslogtreecommitdiffstats
path: root/docs/manual/handler.xml
diff options
context:
space:
mode:
authorDavid Shane Holden <dpejesh@apache.org>2002-09-08 23:39:10 +0200
committerDavid Shane Holden <dpejesh@apache.org>2002-09-08 23:39:10 +0200
commit346948cd81a7f6422d1d73c899e83c9a9393bebd (patch)
treef231715f4dbde96df3a94d14c0a9e4fd35904150 /docs/manual/handler.xml
parentCheck that r->filename is non-null before trying to use (diff)
downloadapache2-346948cd81a7f6422d1d73c899e83c9a9393bebd.tar.xz
apache2-346948cd81a7f6422d1d73c899e83c9a9393bebd.zip
<example> fixups.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/handler.xml')
-rw-r--r--docs/manual/handler.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/manual/handler.xml b/docs/manual/handler.xml
index 3907bb4f20..87c55a3553 100644
--- a/docs/manual/handler.xml
+++ b/docs/manual/handler.xml
@@ -88,10 +88,10 @@
the <code>html</code> extension to trigger the launch of the
<code>footer.pl</code> CGI script.</p>
- <example><code>
+ <example>
Action add-footer /cgi-bin/footer.pl<br/>
AddHandler add-footer .html
- </code></example>
+ </example>
<p>Then the CGI script is responsible for sending the
originally requested document (pointed to by the
@@ -109,11 +109,11 @@
the <code>send-as-is</code> handler, regardless of their
filename extensions.</p>
- <example><code>
+ <example>
&lt;Directory /web/htdocs/asis&gt;<br/>
SetHandler send-as-is<br/>
&lt;/Directory&gt;
- </code></example>
+ </example>
</section>
</section>
@@ -124,9 +124,10 @@
been made to the <a href="developer/API.html">Apache API</a> that
you may wish to make use of. Specifically, a new record has
been added to the <code>request_rec</code> structure:</p>
-<pre>
- char *handler
-</pre>
+
+ <example>
+ char *handler
+ </example>
<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