From: Daniel Gruno
Le serveur HTTP Apache fournit des messages d'erreur génériques pour les codes de statut 4xx ou 5xx ; ces messages sont cependant @@ -168,12 +166,13 @@ ErrorDocument 401 /subscription/how_to_subscribe.html par une directive ErrorDocument pourrait contenir ce qui suit :
-
- ...
- print "Content-type: text/html\n";
- printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"};
- ...
-
+... +print "Content-type: text/html\n";+
+printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"};
+... +
Si un script est dédié à la gestion d'une condition d'erreur
spécifique, telle que 404 Not Found
, il
@@ -199,10 +198,11 @@ ErrorDocument 401 /subscription/how_to_subscribe.html
Dans le fichier de configuration de votre serveur, vous trouverez un groupe de lignes du style :
-
+
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
-
Décommentez la ligne Hook functions are how modules (and Lua scripts) participate in the
processing of requests. Each type of hook exposed by the server exists for
-a specific purposes such as mapping requests to the filesystem,
+a specific purpose, such as mapping requests to the filesystem,
performing access control, or setting mimetypes. General purpose hooks
that simply run at handy times in the request lifecycle exist as well.Include
pour activer cette
fonctionnalité, et présenter des messages d'erreur dont le langage
diff --git a/docs/manual/custom-error.xml.meta b/docs/manual/custom-error.xml.meta
index 5900a59241..38c922cb47 100644
--- a/docs/manual/custom-error.xml.meta
+++ b/docs/manual/custom-error.xml.meta
@@ -9,7 +9,7 @@
Description: Provide a hook for the translate name phase of request processing
-Syntax: LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late]
+Context: server config, virtual host, directory Context: server config, virtual host Override: All Status: Experimental
@@ -728,7 +728,7 @@ LuaPackagePath /scripts/lib/?/init.lua
Module: mod_lua
Description: Provide a hook for the quick handler of request processing
-Syntax: LuaQuickHandler /path/to/script.lua hook_function_name
+Context: server config, virtual host, directory, .htaccess Context: server config, virtual host Override: All Status: Experimental
diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr
index 0570bb5752..7aea757661 100644
--- a/docs/manual/mod/mod_lua.xml.fr
+++ b/docs/manual/mod/mod_lua.xml.fr
@@ -1,7 +1,7 @@
-
+
diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de
index df2457439b..e25f84fae5 100644
--- a/docs/manual/mod/quickreference.html.de
+++ b/docs/manual/mod/quickreference.html.de
@@ -572,13 +572,13 @@ regul
processing
Module: mod_lua LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M
processing
Limit on the number of connections that an individual child server
diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en
index 7900dc9e77..2892015aa5 100644
--- a/docs/manual/mod/quickreference.html.en
+++ b/docs/manual/mod/quickreference.html.en
@@ -564,13 +564,13 @@ matching URLs LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M
processing
Limit on the number of connections that an individual child server
diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es
index be4636ffec..8d7f98e15d 100644
--- a/docs/manual/mod/quickreference.html.es
+++ b/docs/manual/mod/quickreference.html.es
@@ -571,13 +571,13 @@ matching URLs LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M
processing
Limit on the number of connections that an individual child server
diff --git a/docs/manual/mod/quickreference.html.ja.utf8 b/docs/manual/mod/quickreference.html.ja.utf8
index 61ca9373e6..7398ad156c 100644
--- a/docs/manual/mod/quickreference.html.ja.utf8
+++ b/docs/manual/mod/quickreference.html.ja.utf8
@@ -537,13 +537,13 @@ Certificate Authority or global client certificates LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M
processing
Limit on the number of connections that an individual child server
diff --git a/docs/manual/mod/quickreference.html.ko.euc-kr b/docs/manual/mod/quickreference.html.ko.euc-kr
index ae55a9aa2a..69da84ce16 100644
--- a/docs/manual/mod/quickreference.html.ko.euc-kr
+++ b/docs/manual/mod/quickreference.html.ko.euc-kr
@@ -535,13 +535,13 @@ matching URLs LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M
processing
Limit on the number of connections that an individual child server
diff --git a/docs/manual/mod/quickreference.html.tr.utf8 b/docs/manual/mod/quickreference.html.tr.utf8
index 0335a33086..7b3432d9b9 100644
--- a/docs/manual/mod/quickreference.html.tr.utf8
+++ b/docs/manual/mod/quickreference.html.tr.utf8
@@ -565,13 +565,13 @@ uygulanır. LuaHookInsertFilter /path/to/lua/script.lua hook_function_name skdh D Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name skdh D
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] skd D
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sk D Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name skdh D Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first skdh D Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] skdh D Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa skdh D Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua skdh D
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name skdh D
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sk D Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory skdh D Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once skdh D One of once, request, conn, thread -- default is once MaxConnectionsPerChild sayı 0 s M
processing
Tek bir çocuk sürecin ömrü boyunca iÅleme sokabileceÄi istek
diff --git a/docs/manual/mod/quickreference.html.zh-cn b/docs/manual/mod/quickreference.html.zh-cn
index 908fa659c2..d6aaeb0521 100644
--- a/docs/manual/mod/quickreference.html.zh-cn
+++ b/docs/manual/mod/quickreference.html.zh-cn
@@ -559,13 +559,13 @@ matching URLs LuaHookInsertFilter /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the insert_filter phase of request processing LuaHookMapToStorage /path/to/lua/script.lua hook_function_name svdh X
-Provide a hook for the map_to_storage phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] svd X
+Provide a hook for the translate name phase of request processing LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] sv X Provide a hook for the translate name phase of request processing LuaHookTypeChecker /path/to/lua/script.lua hook_function_name svdh X Provide a hook for the type_checker phase of request processing LuaInherit none|parent-first|parent-last parent-first svdh X Controls how parent configuration sections are merged into children LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] svdh X Map a path to a lua handler LuaPackageCPath /path/to/include/?.soa svdh X Add a directory to lua's package.cpath LuaPackagePath /path/to/include/?.lua svdh X
-Add a directory to lua's package.path LuaQuickHandler /path/to/script.lua hook_function_name svdh X
+Provide a hook for the quick handler of request processing LuaQuickHandler /path/to/script.lua hook_function_name sv X Provide a hook for the quick handler of request processing LuaRoot /path/to/a/directory svdh X Specify the base path for resolving relative paths for mod_lua directives LuaScope once|request|conn|thread once svdh X One of once, request, conn, thread -- default is once MaxConnectionsPerChild number 0 s M Limit on the number of connections that an individual child server