diff options
author | Rich Bowen <rbowen@apache.org> | 2012-04-26 16:57:35 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2012-04-26 16:57:35 +0200 |
commit | 2e5d9d52e1b8e219329c84eea0313d14b7fd5a5c (patch) | |
tree | 6b77c732b713094f1d1c3dc7929fcec938777891 /docs/manual/handler.html.en | |
parent | Syntax for files in / (diff) | |
download | apache2-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.en | 25 |
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> - <Directory /web/htdocs/asis><br /> - <span class="indent">SetHandler send-as-is<br /></span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory /web/htdocs/asis> + SetHandler send-as-is +</Directory> + </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->handler</code> to the name of the |