From: Daniel Gruno
-example.lua +example.lua
-- example handler require "string" @@ -191,7 +191,7 @@ without authentication, or if the authenticated user matches the second argument:-authz_provider.lua +authz_provider.lua
require 'apache2' @@ -235,8 +235,9 @@ they'll return OK, DONE, or DECLINED, which you can write in lua asapache2.OK
,apache2.DONE
, orapache2.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' @@ -252,8 +253,9 @@ 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 diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr index eb48039a80e..05bfa07c4df 100644 --- a/docs/manual/mod/mod_lua.xml.fr +++ b/docs/manual/mod/mod_lua.xml.fr @@ -1,7 +1,7 @@ - +