summaryrefslogtreecommitdiffstats
path: root/docs/manual/handler.html.en
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2012-04-26 16:57:35 +0200
committerRich Bowen <rbowen@apache.org>2012-04-26 16:57:35 +0200
commit2e5d9d52e1b8e219329c84eea0313d14b7fd5a5c (patch)
tree6b77c732b713094f1d1c3dc7929fcec938777891 /docs/manual/handler.html.en
parentSyntax for files in / (diff)
downloadapache2-2e5d9d52e1b8e219329c84eea0313d14b7fd5a5c.tar.xz
apache2-2e5d9d52e1b8e219329c84eea0313d14b7fd5a5c.zip
Rebuild Humbedooh's changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/handler.html.en')
-rw-r--r--docs/manual/handler.html.en25
1 files changed, 14 insertions, 11 deletions
diff --git a/docs/manual/handler.html.en b/docs/manual/handler.html.en
index 117e2f7ab5..916d3fecb4 100644
--- a/docs/manual/handler.html.en
+++ b/docs/manual/handler.html.en
@@ -97,10 +97,11 @@
the <code>html</code> extension to trigger the launch of the
<code>footer.pl</code> CGI script.</p>
- <div class="example"><p><code>
- Action add-footer /cgi-bin/footer.pl<br />
- AddHandler add-footer .html
- </code></p></div>
+ <pre class="prettyprint lang-config">
+Action add-footer /cgi-bin/footer.pl
+AddHandler add-footer .html
+ </pre>
+
<p>Then the CGI script is responsible for sending the
originally requested document (pointed to by the
@@ -118,11 +119,12 @@
the <code>send-as-is</code> handler, regardless of their
filename extensions.</p>
- <div class="example"><p><code>
- &lt;Directory /web/htdocs/asis&gt;<br />
- <span class="indent">SetHandler send-as-is<br /></span>
- &lt;/Directory&gt;
- </code></p></div>
+ <pre class="prettyprint lang-config">
+&lt;Directory /web/htdocs/asis&gt;
+ SetHandler send-as-is
+&lt;/Directory&gt;
+ </pre>
+
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
@@ -135,9 +137,10 @@
you may wish to make use of. Specifically, a new record has
been added to the <code>request_rec</code> structure:</p>
- <div class="example"><p><code>
+ <pre class="prettyprint lang-c">
char *handler
- </code></p></div>
+ </pre>
+
<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