diff options
Diffstat (limited to 'docs/manual/mod/mod_actions.html.en')
-rw-r--r-- | docs/manual/mod/mod_actions.html.en | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/docs/manual/mod/mod_actions.html.en b/docs/manual/mod/mod_actions.html.en index 3e4de73c..850acb23 100644 --- a/docs/manual/mod/mod_actions.html.en +++ b/docs/manual/mod/mod_actions.html.en @@ -9,7 +9,7 @@ <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> -<script src="../style/scripts/prettify.js" type="text/javascript"> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> @@ -77,21 +77,17 @@ introduced in Apache 2.1</td></tr> environment variables. The handler used for the particular request is passed using the <code>REDIRECT_HANDLER</code> variable.</p> - <div class="example"><h3>Example: MIME type</h3><pre class="prettyprint lang-config"> -# Requests for files of a particular MIME content type: -Action image/gif /cgi-bin/images.cgi - </pre> + <div class="example"><h3>Example: MIME type</h3><pre class="prettyprint lang-config"># Requests for files of a particular MIME content type: +Action image/gif /cgi-bin/images.cgi</pre> </div> <p>In this example, requests for files with a MIME content type of <code>image/gif</code> will be handled by the specified cgi script <code>/cgi-bin/images.cgi</code>.</p> - <div class="example"><h3>Example: File extension</h3><pre class="prettyprint lang-config"> -# Files of a particular file extension + <div class="example"><h3>Example: File extension</h3><pre class="prettyprint lang-config"># Files of a particular file extension AddHandler my-file-type .xyz -Action my-file-type /cgi-bin/program.cgi - </pre> +Action my-file-type /cgi-bin/program.cgi</pre> </div> <p>In this example, requests for files with a file extension of <code>.xyz</code> are handled by the specified cgi script @@ -102,12 +98,10 @@ Action my-file-type /cgi-bin/program.cgi if you want to use the <code class="directive">Action</code> directive in virtual locations.</p> - <pre class="prettyprint lang-config"> -<Location /news> + <pre class="prettyprint lang-config"><Location /news> SetHandler news-handler Action news-handler /cgi-bin/news.cgi virtual -</Location> - </pre> +</Location></pre> <h3>See also</h3> @@ -148,13 +142,11 @@ method.</td></tr> (<em>e.g.</em>, foo.html?hi). Otherwise, the request will proceed normally.</p> - <pre class="prettyprint lang-config"> -# All GET requests go here + <pre class="prettyprint lang-config"># All GET requests go here Script GET /cgi-bin/search # A CGI PUT handler -Script PUT /~bob/put.cgi - </pre> +Script PUT /~bob/put.cgi</pre> </div> @@ -183,7 +175,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_actions.html } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |