From: Daniel Gruno Date: Sun, 1 Jul 2012 15:34:18 +0000 (+0000) Subject: Fix titles of examples X-Git-Tag: 2.5.0-alpha~6686 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9edaa58efce072ff02c6ed63c663fa212dc7b4;p=thirdparty%2Fapache%2Fhttpd.git Fix titles of examples git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1355934 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 8534bafba8f..c165924fc6a 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -88,7 +88,7 @@ something like this:

-example.lua +example.lua
-- example handler require "string" @@ -154,7 +154,7 @@ without authentication, or if the authenticated user matches the second argument:

-authz_provider.lua +authz_provider.lua
require 'apache2' @@ -196,8 +196,9 @@ they'll return OK, DONE, or DECLINED, which you can write in lua as apache2.OK, apache2.DONE, or apache2.DECLINED, or else an HTTP status code.

+ -translate_name.lua +translate_name.lua
-- example hook that rewrites the URI to a filesystem path. require 'apache2' @@ -212,8 +213,9 @@ function translate_name(r) end
+ -translate_name2.lua +translate_name2.lua
--[[ 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