1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1355936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-07-01 15:36:46 +00:00
parent 1c530de1dd
commit cce01a66d0
2 changed files with 7 additions and 5 deletions

View File

@@ -124,7 +124,7 @@ something like this:</p>
<pre class="prettyprint lang-lua">
<strong>example.lua</strong>
<strong>example.lua</strong><br />
-- example handler
require "string"
@@ -191,7 +191,7 @@ without authentication, or if the authenticated user matches the second
argument:</p>
<pre class="prettyprint lang-lua">
<strong>authz_provider.lua</strong>
<strong>authz_provider.lua</strong><br />
require 'apache2'
@@ -235,8 +235,9 @@ they'll return OK, DONE, or DECLINED, which you can write in lua as
<code>apache2.OK</code>, <code>apache2.DONE</code>, or
<code>apache2.DECLINED</code>, or else an HTTP status code.</p>
<pre class="prettyprint lang-lua">
<strong>translate_name.lua</strong>
<strong>translate_name.lua</strong><br />
-- example hook that rewrites the URI to a filesystem path.
require 'apache2'
@@ -252,8 +253,9 @@ end
</pre>
<pre class="prettyprint lang-lua">
<strong>translate_name2.lua</strong>
<strong>translate_name2.lua</strong><br />
--[[ example hook that rewrites one URI to another URI. It returns a
apache2.DECLINED to give other URL mappers a chance to work on the
substitution, including the core translate_name hook which maps based

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1352048:1355929 (outdated) -->
<!-- English Revision: 1352048:1355934 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->