From 177f4605f0904eff20e80df5e36e641242d63f14 Mon Sep 17 00:00:00 2001 From: Daniel Earl Poirier Date: Mon, 3 May 2010 18:23:46 +0000 Subject: [PATCH] Update transforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@940557 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/logs.html.fr | 18 + docs/manual/logs.xml.meta | 2 +- docs/manual/mod/directives.html.de | 4 +- docs/manual/mod/directives.html.es | 4 +- docs/manual/mod/directives.html.ja.utf8 | 4 +- docs/manual/mod/directives.html.ko.euc-kr | 4 +- docs/manual/mod/directives.html.tr.utf8 | 4 +- docs/manual/mod/index.html.de | 7 +- docs/manual/mod/index.html.es | 7 +- docs/manual/mod/index.html.fr | 7 +- docs/manual/mod/index.html.ja.utf8 | 7 +- docs/manual/mod/index.html.ko.euc-kr | 7 +- docs/manual/mod/index.html.tr.utf8 | 7 +- docs/manual/mod/mod_lua.html.en | 321 +++++++++++++++--- docs/manual/mod/quickreference.html.de | 59 ++-- docs/manual/mod/quickreference.html.en | 4 +- docs/manual/mod/quickreference.html.es | 59 ++-- docs/manual/mod/quickreference.html.ja.utf8 | 59 ++-- docs/manual/mod/quickreference.html.ko.euc-kr | 59 ++-- docs/manual/mod/quickreference.html.tr.utf8 | 59 ++-- docs/manual/sitemap.html.de | 2 + docs/manual/sitemap.html.es | 2 + docs/manual/sitemap.html.fr | 2 + docs/manual/sitemap.html.ja.utf8 | 2 + docs/manual/sitemap.html.ko.euc-kr | 2 + docs/manual/sitemap.html.tr.utf8 | 2 + 26 files changed, 513 insertions(+), 201 deletions(-) diff --git a/docs/manual/logs.html.fr b/docs/manual/logs.html.fr index 53fc766ae7..e31d667123 100644 --- a/docs/manual/logs.html.fr +++ b/docs/manual/logs.html.fr @@ -452,6 +452,24 @@ CustomLog logs/non_english_log common env=!english

+

Dans le contexte d'une mise en cache, il peut être + intéressant de connaître l'efficacité du cache. Pour y parvenir, + on pourrait utiliser cette méthode simple :

+ +

+ SetEnv CACHE_MISS 1
+ LogFormat "%h %l %u %t "%r " %>s %b %{CACHE_MISS}e" common-cache
+ CustomLog logs/access_log common-cache +

+ +

mod_cache va s'exécuter avant + mod_env, et si son action est couronnée de + succès, il délivrera le contenu sans faire appel à ce dernier. Si + l'URL se trouve dans le cache, la valeur journalisée sera alors + -, tandis que dans le cas contraire elle sera + 1.

+ +

Bien que nous venions de montrer que la journalisation conditionnelle est souple et très puissante, cette méthode de contrôle du contenu des journaux n'est pas la seule. Les fichiers journaux sont plus utiles diff --git a/docs/manual/logs.xml.meta b/docs/manual/logs.xml.meta index 553c8ac21e..c7c4d3735a 100644 --- a/docs/manual/logs.xml.meta +++ b/docs/manual/logs.xml.meta @@ -8,7 +8,7 @@ en - fr + fr ja ko tr diff --git a/docs/manual/mod/directives.html.de b/docs/manual/mod/directives.html.de index a3c434c47e..4f5c688a0a 100644 --- a/docs/manual/mod/directives.html.de +++ b/docs/manual/mod/directives.html.de @@ -299,8 +299,8 @@

  • LuaCodeCache
  • LuaHookAccessChecker
  • LuaHookAuthChecker
  • -
  • LuaHookAuthChecker
  • LuaHookCheckUserID
  • +
  • LuaHookFixups
  • LuaHookInsertFilter
  • LuaHookMapToStorage
  • LuaHookTranslateName
  • @@ -308,6 +308,7 @@
  • LuaMapHandler
  • LuaPackageCPath
  • LuaPackagePath
  • +
  • LuaQuickHandler
  • LuaRoot
  • LuaScope
  • MaxClients
  • @@ -324,6 +325,7 @@
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • +
  • ModemStandard
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • NameVirtualHost
  • diff --git a/docs/manual/mod/directives.html.es b/docs/manual/mod/directives.html.es index e11e18c006..3ada7e90b1 100644 --- a/docs/manual/mod/directives.html.es +++ b/docs/manual/mod/directives.html.es @@ -302,8 +302,8 @@
  • LuaCodeCache
  • LuaHookAccessChecker
  • LuaHookAuthChecker
  • -
  • LuaHookAuthChecker
  • LuaHookCheckUserID
  • +
  • LuaHookFixups
  • LuaHookInsertFilter
  • LuaHookMapToStorage
  • LuaHookTranslateName
  • @@ -311,6 +311,7 @@
  • LuaMapHandler
  • LuaPackageCPath
  • LuaPackagePath
  • +
  • LuaQuickHandler
  • LuaRoot
  • LuaScope
  • MaxClients
  • @@ -327,6 +328,7 @@
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • +
  • ModemStandard
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • Mutex
  • diff --git a/docs/manual/mod/directives.html.ja.utf8 b/docs/manual/mod/directives.html.ja.utf8 index a9966b782d..5863fb52a2 100644 --- a/docs/manual/mod/directives.html.ja.utf8 +++ b/docs/manual/mod/directives.html.ja.utf8 @@ -294,8 +294,8 @@
  • LuaCodeCache
  • LuaHookAccessChecker
  • LuaHookAuthChecker
  • -
  • LuaHookAuthChecker
  • LuaHookCheckUserID
  • +
  • LuaHookFixups
  • LuaHookInsertFilter
  • LuaHookMapToStorage
  • LuaHookTranslateName
  • @@ -303,6 +303,7 @@
  • LuaMapHandler
  • LuaPackageCPath
  • LuaPackagePath
  • +
  • LuaQuickHandler
  • LuaRoot
  • LuaScope
  • MaxClients
  • @@ -319,6 +320,7 @@
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • +
  • ModemStandard
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • NameVirtualHost
  • diff --git a/docs/manual/mod/directives.html.ko.euc-kr b/docs/manual/mod/directives.html.ko.euc-kr index 2a5f473c23..19f35c2587 100644 --- a/docs/manual/mod/directives.html.ko.euc-kr +++ b/docs/manual/mod/directives.html.ko.euc-kr @@ -289,8 +289,8 @@
  • LuaCodeCache
  • LuaHookAccessChecker
  • LuaHookAuthChecker
  • -
  • LuaHookAuthChecker
  • LuaHookCheckUserID
  • +
  • LuaHookFixups
  • LuaHookInsertFilter
  • LuaHookMapToStorage
  • LuaHookTranslateName
  • @@ -298,6 +298,7 @@
  • LuaMapHandler
  • LuaPackageCPath
  • LuaPackagePath
  • +
  • LuaQuickHandler
  • LuaRoot
  • LuaScope
  • MaxClients
  • @@ -314,6 +315,7 @@
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • +
  • ModemStandard
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • Mutex
  • diff --git a/docs/manual/mod/directives.html.tr.utf8 b/docs/manual/mod/directives.html.tr.utf8 index e9776f0efe..e6f3aaa191 100644 --- a/docs/manual/mod/directives.html.tr.utf8 +++ b/docs/manual/mod/directives.html.tr.utf8 @@ -298,8 +298,8 @@
  • LuaCodeCache
  • LuaHookAccessChecker
  • LuaHookAuthChecker
  • -
  • LuaHookAuthChecker
  • LuaHookCheckUserID
  • +
  • LuaHookFixups
  • LuaHookInsertFilter
  • LuaHookMapToStorage
  • LuaHookTranslateName
  • @@ -307,6 +307,7 @@
  • LuaMapHandler
  • LuaPackageCPath
  • LuaPackagePath
  • +
  • LuaQuickHandler
  • LuaRoot
  • LuaScope
  • MaxClients
  • @@ -323,6 +324,7 @@
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • +
  • ModemStandard
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • NameVirtualHost
  • diff --git a/docs/manual/mod/index.html.de b/docs/manual/mod/index.html.de index 070f80e70f..9123743fc9 100644 --- a/docs/manual/mod/index.html.de +++ b/docs/manual/mod/index.html.de @@ -114,6 +114,7 @@ address)
    mod_dbd
    Manages SQL database connections
    mod_deflate
    Compress content before it is delivered to the client
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    Provides for "trailing slash" redirects and serving directory index files
    mod_disk_cache
    Content cache storage manager keyed to URIs
    @@ -149,7 +150,8 @@ by other LDAP modules
    mod_log_config
    Logging of the requests made to the server
    mod_log_forensic
    Forensic Logging of the requests made to the server
    mod_logio
    Logging of input and output bytes per request
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and @@ -175,7 +177,8 @@ under different user IDs.
    mod_proxy_http
    HTTP support module for mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers. diff --git a/docs/manual/mod/index.html.es b/docs/manual/mod/index.html.es index c5dfaa5d4c..a33980c24a 100644 --- a/docs/manual/mod/index.html.es +++ b/docs/manual/mod/index.html.es @@ -116,6 +116,7 @@ address)
    mod_dbd
    Manages SQL database connections
    mod_deflate
    Compress content before it is delivered to the client
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    Provides for "trailing slash" redirects and serving directory index files
    mod_disk_cache
    Content cache storage manager keyed to URIs
    @@ -151,7 +152,8 @@ by other LDAP modules
    mod_log_config
    Logging of the requests made to the server
    mod_log_forensic
    Forensic Logging of the requests made to the server
    mod_logio
    Logging of input and output bytes per request
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and @@ -177,7 +179,8 @@ under different user IDs.
    mod_proxy_http
    HTTP support module for mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers. diff --git a/docs/manual/mod/index.html.fr b/docs/manual/mod/index.html.fr index 7231747411..42cbb051a0 100644 --- a/docs/manual/mod/index.html.fr +++ b/docs/manual/mod/index.html.fr @@ -111,6 +111,7 @@ URI.
    mod_dbd
    Manages SQL database connections
    mod_deflate
    Comprime le contenu avant de le servir au client
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    Permet la redirection des adresses se terminant par un répertoire sans slash de fin et la mise à disposition des fichiers index de répertoire
    @@ -149,7 +150,8 @@ cache du r
    mod_log_config
    Logging of the requests made to the server
    mod_log_forensic
    Forensic Logging of the requests made to the server
    mod_logio
    Logging of input and output bytes per request
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and @@ -176,7 +178,8 @@ under different user IDs.
    mod_proxy_http
    Module fournissant le support HTTP à mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Remplace l'adresse IP et le nom d'hôte apparents du client pour la requête par l'adresse IP présentée par un mandataire ou un répartiteur de charge via les en-têtes de la requête. diff --git a/docs/manual/mod/index.html.ja.utf8 b/docs/manual/mod/index.html.ja.utf8 index 0797f79499..53f7fa0bcf 100644 --- a/docs/manual/mod/index.html.ja.utf8 +++ b/docs/manual/mod/index.html.ja.utf8 @@ -107,6 +107,7 @@ address)
    mod_dav_lock
    mod_dav 用の汎用ロックモジュール
    mod_dbd
    Manages SQL database connections
    mod_deflate
    クライアントへ送られる前にコンテンツを圧縮する
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    「最後のスラッシュ」のリダイレクトと、ディレクトリの インデックスファイルを扱う機能を提供する
    mod_disk_cache
    URI をキーにしたコンテンツキャッシュストレージ管理
    @@ -138,7 +139,8 @@ by other LDAP modules
    mod_log_config
    サーバへのリクエストのロギング
    mod_log_forensic
    サーバに送られたリクエストの forensic ロギング
    mod_logio
    リクエスト毎に入力バイト数と出力バイト数とをロギング
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    リクエストされたファイルの拡張子とファイルの振る舞い (ハンドラとフィルタ)、内容 (MIME タイプ、言語、文字セット、エンコーディング) とを関連付ける
    @@ -164,7 +166,8 @@ under different user IDs.
    mod_proxy_http
    HTTP support module for mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers. diff --git a/docs/manual/mod/index.html.ko.euc-kr b/docs/manual/mod/index.html.ko.euc-kr index f6c451ad55..c344fd85eb 100644 --- a/docs/manual/mod/index.html.ko.euc-kr +++ b/docs/manual/mod/index.html.ko.euc-kr @@ -103,6 +103,7 @@ address)
    mod_dav_lock
    generic locking module for mod_dav
    mod_dbd
    Manages SQL database connections
    mod_deflate
    ³»¿ëÀ» Ŭ¶óÀ̾ðÆ®·Î º¸³»±â Àü¿¡ ¾ÐÃàÇÑ´Ù
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    "¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» Á¦°øÇÏ°í µð·ºÅ丮 index ÆÄÀÏÀ» ¼­ºñ½ºÇÑ´Ù
    mod_disk_cache
    Content cache storage manager keyed to URIs
    @@ -134,7 +135,8 @@ by other LDAP modules
    mod_log_config
    ¼­¹ö·ÎÀÇ ¿äûÀ» ·Î±×¿¡ ±â·ÏÇÑ´Ù
    mod_log_forensic
    Forensic Logging of the requests made to the server
    mod_logio
    ¿äû´ç ÀÔÃâ·Â ¹ÙÀÌÆ®¼ö¸¦ ±â·Ï
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and @@ -160,7 +162,8 @@ under different user IDs.
    mod_proxy_http
    HTTP support module for mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers. diff --git a/docs/manual/mod/index.html.tr.utf8 b/docs/manual/mod/index.html.tr.utf8 index 6747ccf714..b1956cf17f 100644 --- a/docs/manual/mod/index.html.tr.utf8 +++ b/docs/manual/mod/index.html.tr.utf8 @@ -106,6 +106,7 @@ yaptığı gibi dizin içeriğini listeler.
    mod_dbd
    Manages SQL database connections
    mod_deflate
    Compress content before it is delivered to the client
    +
    mod_dialup
    Send static content at a bandwidth rate limit, defined by the various old modem standards
    mod_dir
    Bölü çizgisiyle biten yönlendirmeleri yapar ve dizin içeriği dosyalarını sunar.
    mod_disk_cache
    Content cache storage manager keyed to URIs
    mod_dumpio
    Dumps all I/O to error log as desired.
    @@ -142,7 +143,8 @@ by other LDAP modules
    mod_log_forensic
    Sunucuya yapılan isteklerin adli günlük kayıtlarının tutulması
    mod_logio
    Her isteğin girdi ve çıktı uzunluklarının günlüklenmesi.
    -
    mod_lua
    Provides Lua hooks to do cool stuff
    +
    mod_lua
    Provides Lua hooks into various portions of the httpd +request processing
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and @@ -168,7 +170,8 @@ under different user IDs.
    mod_proxy_http
    HTTP support module for mod_proxy
    mod_proxy_scgi
    SCGI gateway module for mod_proxy
    -
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    +
    mod_ratelimit
    Bandwidth Rate Limiting for Clients
    +
    mod_reflector
    Reflect a request body as a response via the output filter stack.
    mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers. diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index 8a159d19b3..350a9f58ff 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -28,10 +28,12 @@ request processing Status:Experimental Module Identifier:lua_module Source File:mod_lua.c -Compatibility:2.4 and later +Compatibility:2.3 and later

    Summary

    -

    Someone needs to write this.

    +

    Someone needs to write this. +Include a link to the Lua website. +

    top
    @@ -66,8 +70,7 @@ request processing

    The basic module loading directive is

    - LoadModule apreq_module modules/mod_apreq2.so
    - LoadModule wombat_module modules/mod_wombat.so + LoadModule lua_module modules/mod_lua.so

    @@ -79,9 +82,14 @@ AddHandler lua-script .lua

    -This will cause any .lua file to be evaluated by -mod_lua. +This will cause mod_lua to handle requests for files +ending in .lua by invoking that file's +handle function. +

    + +

    For more flexibility, see LuaMapHandler.

    +
    top

    Writing Handlers

    @@ -91,24 +99,26 @@ just evaluating a script body CGI style. A handler function looks something like this:

    example.lua

    -    require "string"
    +-- example handler
     
    -    function handle_something(r)
    -        r.content_type = "text/plain"
    -        r:puts("Hello Lua World!\n")
    -    
    -        if r.method == 'GET' then
    -            for k, v in pairs( r:parseargs() ) do
    -                r:puts( string.format("%s: %s", k, v) )
    -            end
    -        elseif r.method == 'POST' then
    -            for k, v in pairs( r:parsebody() ) do
    -                r:puts( string.format("%s: %s", k, v) )
    -            end
    -        else
    -            r:puts("unknown HTTP method " .. r.method)
    -        end 
    -    end
    +require "string"
    +
    +function handle_something(r)
    +    r.content_type = "text/plain"
    +    r:puts("Hello Lua World!\n")
    +
    +    if r.method == 'GET' then
    +        for k, v in pairs( r:parseargs() ) do
    +            r:puts( string.format("%s: %s", k, v) )
    +        end
    +    elseif r.method == 'POST' then
    +        for k, v in pairs( r:parsebody() ) do
    +            r:puts( string.format("%s: %s", k, v) )
    +        end
    +    else
    +        r:puts("unknown HTTP method " .. r.method)
    +    end 
    +end
     

    @@ -121,6 +131,29 @@ This means (and in fact encourages) that you can have multiple handlers (or hooks, or filters) in the same script.

    +
    top
    +
    +

    Writing Hooks

    + +

    Hook functions are passed the request object as their only argument. +They can return any value, depending on the hook, but most commonly +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

    +-- example hook
    +
    +require 'apache2'
    +
    +function translate_name(r)
    +    if r.uri == "/translate-name" then
    +        r.uri = "/find_me.txt"
    +        return apache2.DECLINED
    +    end
    +    return apache2.DECLINED
    +end
    +
    top

    Data Structures

    @@ -132,11 +165,153 @@ handlers (or hooks, or filters) in the same script. which lets you do useful things with it. For the most part it has the same fields as the request_rec struct (see httpd.h until we get better docs here) many of which are writeable as - well as readable, and has (at least) the following methods:

    + well as readable. (The table fields' content can be changed, but the + fields themselves cannot be set to different tables.)

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameLua typeWritable
    ap_auth_typestringno
    argsstringno
    assbackwardsbooleanno
    canonical_filenamestringno
    content_encodingstringno
    content_typestringyes
    document_rootstringno
    err_headers_outtableno
    filenamestringyes
    headers_intableyes
    headers_outtableyes
    hostnamestringno
    methodstringno
    notestableyes
    path_infostringno
    protocolstringno
    rangestringno
    statusnumberyes
    the_requeststringno
    unparsed_uristringno
    uristringyes
    userstringyes
    + +

    The request_rec has (at least) the following methods:

    + +

    + r:addoutputfilter(name|function) -- add an output filter +

    +

    + r:parseargs() -- returns a lua table containing the request's + query string arguments +

    + +

    + r:parsebody() -- parse the request body as a POST and return + a lua table +

    +

    r:puts("hello", " world", "!") -- print to response body

    + +

    + r:write("a single string") -- print to response body +

    @@ -145,6 +320,7 @@ handlers (or hooks, or filters) in the same script.

    Logging Functions

    + -- examples of logging messages
    r:debug("This is a debug log message")
    r:info("This is an info log message")
    r:notice("This is an notice log message")
    @@ -155,12 +331,32 @@ handlers (or hooks, or filters) in the same script. r:emerg("This is an emerg log message")

    +
    top
    +
    +

    apache2 Package

    +

    A package named apache2 is available with (at least) the following contents.

    +
    +
    apache2.OK
    +
    internal constant OK. Handlers should return this if they've + handled the request.
    +
    apache2.DECLINED
    +
    internal constant DECLINED. Handlers should return this if + they are not going to handle the request.
    +
    apache2.DONE
    +
    internal constant DONE.
    +
    apache2.version
    +
    Apache HTTP server version string
    +
    apache2.HTTP_MOVED_TEMPORARILY
    +
    HTTP status code
    +
    +

    (Other HTTP status codes are not yet implemented.)

    top

    LuaCodeCache Directive

    + @@ -174,7 +370,7 @@ handlers (or hooks, or filters) in the same script. cached forever (don't stat and replace) or to never cache the file.

    -

    In general stat or forever is good production and stat or never +

    In general stat or forever is good for production, and stat or never for deveopment.

    Examples:

    @@ -194,7 +390,10 @@ handlers (or hooks, or filters) in the same script.

    -
    Description:Configure the compiled code cache.
    Syntax:LuaCodeCache stat|forever|never
    Default:LuaCodeCache stat
    Context:server config, virtual host, directory, .htaccess
    Override:All
    Status:Experimental
    Override:All
    Status:Experimental
    Module:mod_lua

    ...

    + +

    Add your hook to the access_checker phase. An access checker +hook function usually returns OK, DECLINED, or HTTP_FORBIDDEN.

    +
    top

    LuaHookAuthChecker Directive

    @@ -205,7 +404,44 @@ handlers (or hooks, or filters) in the same script. Override:All Status:Experimental Module:mod_lua -

    ...

    + +

    Invoke a lua function in the auth_checker phase of processing +a request. This can be used to implement arbitrary authentication +and authorization checking. A very simple example: +

    +
    +require 'apache2'
    +
    +-- fake authcheck hook
    +-- If request has no auth info, set the response header and
    +-- return a 401 to ask the browser for basic auth info.
    +-- If request has auth info, don't actually look at it, just
    +-- pretend we got userid 'foo' and validated it.
    +-- Then check if the userid is 'foo' and accept the request.
    +function authcheck_hook(r)
    +
    +   -- look for auth info
    +   auth = r.headers_in['Authorization']
    +   if auth ~= nil then
    +     -- fake the user
    +     r.user = 'foo'
    +   end
    +
    +   if r.user == nil then
    +      r:debug("authcheck: user is nil, returning 401")
    +      r.err_headers_out['WWW-Authenticate'] = 'Basic realm="WallyWorld"'
    +      return 401
    +   elseif r.user == "foo" then
    +      r:debug('user foo: OK')
    +   else
    +      r:debug("authcheck: user='" .. r.user .. "'")
    +      r.err_headers_out['WWW-Authenticate'] = 'Basic realm="WallyWorld"'
    +      return 401
    +   end
    +   return apache2.OK
    +end
    +
    +
    top

    LuaHookCheckUserID Directive

    @@ -281,19 +517,21 @@ processing

    Example:

    -

    - LuaHookTranslateName /scripts/conf/hooks.lua silly_mapper
    -
    - -- /scripts/conf/hooks.lua --
    - function silly_mapper(r)
    - if r.uri == "/" then
    - r.file = "/var/www/home.lua"
    - return apache2.OK
    - else
    - return apache2.DECLINED
    - end
    - end
    -

    +
    +# httpd.conf
    +LuaHookTranslateName /scripts/conf/hooks.lua silly_mapper
    +
    +-- /scripts/conf/hooks.lua --
    +require "apache2"
    +function silly_mapper(r)
    +    if r.uri == "/" then
    +        r.file = "/var/www/home.lua"
    +        return apache2.OK
    +    else
    +        return apache2.DECLINED
    +    end
    +end
    +
    top
    @@ -396,7 +634,7 @@ processing Module:mod_lua

    Specify the base path which will be used to evaluate all - relative paths within mod_wombat. If not specified they + relative paths within mod_lua. If not specified they will be resolved relative to the current working directory, which may not always work well for a server.

    @@ -406,6 +644,7 @@ processing + diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de index cea5c9592b..f4e7ff1fc6 100644 --- a/docs/manual/mod/quickreference.html.de +++ b/docs/manual/mod/quickreference.html.de @@ -504,45 +504,48 @@ entgegengenommenen Anfragen - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - + + - - + - - - - + + - + @@ -509,7 +509,7 @@ processing - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - + + + - - + - - - + - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + - - - - - + + + + - - + - - - + - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + - - + - + + [takma-ad] - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + - - + - - - + - + +
    Description:One of once, request, conn, server -- default is once
    Syntax:LuaScope once|request|conn|server [max|min max]
    Default:LuaScope once
    Context:server config, virtual host, directory, .htaccess
    Override:All
    Status:Experimental
    LogFormat format|nickname [nickname] "%h %l %u %t \"%r\" +svB
    Describes a format for use in a log file
    LogLevel Level warn svC
    Steuert die Ausführlichkeit des Fehlerprotokolls
    LuaCodeCache stat|forever|neverX
    -
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]X
    -
    LuaPackageCPath /path/to/include/?.soaX
    -
    LuaPackagePath /path/to/include/?.luaX
    -
    LuaRoot /path/to/a/directoryX
    Specify the base path
    LuaScope once|request|conn|server [max|min max]X
    -
    MaxClients AnzahlsM
    Maximale Anzahl der Kindprozesse, die zur Bedienung von Anfragen +
    LuaCodeCache stat|forever|never stat svdhX
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the check_user_id phase of request processing
    LuaHookFixups /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the fixups phase of request +processing
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the insert_filter phase of request processing
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the map_to_storage phase of request processing
    LuaHookTranslateName /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the translate name phase of request processing
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the type_checker phase of request processing
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]svdhX
    Map a path to a lua handler
    LuaPackageCPath /path/to/include/?.soasvdhX
    Add a directory to lua's package.cpath
    LuaPackagePath /path/to/include/?.luasvdhX
    Add a directory to lua's package.path
    svdhX
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directorysvdhX
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max] once svdhX
    One of once, request, conn, server -- default is once
    MaxClients AnzahlsM
    Maximale Anzahl der Kindprozesse, die zur Bedienung von Anfragen gestartet wird
    MaxKeepAliveRequests Anzahl 100 svC
    Anzahl der Anfragen, die bei einer persistenten Verbindung +
    MaxKeepAliveRequests Anzahl 100 svC
    Anzahl der Anfragen, die bei einer persistenten Verbindung zulässig sind
    MaxMemFree KBytes 0 sM
    Maximale Menge des Arbeitsspeichers, den die +
    MaxMemFree KBytes 0 sM
    Maximale Menge des Arbeitsspeichers, den die Haupt-Zuteilungsroutine verwalten darf, ohne free() aufzurufen
    MaxRequestsPerChild number 10000 sM
    Obergrenze für die Anzahl von Anfragen, die ein einzelner +
    MaxRequestsPerChild number 10000 sM
    Obergrenze für die Anzahl von Anfragen, die ein einzelner Kindprozess während seines Lebens bearbeitet
    MaxSpareServers Anzahl 10 sM
    Maximale Anzahl der unbeschäftigten Kindprozesse des +
    MaxSpareServers Anzahl 10 sM
    Maximale Anzahl der unbeschäftigten Kindprozesse des Servers
    MaxSpareThreads AnzahlsM
    Maximale Anzahl unbeschäftigter Threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information +
    MaxSpareThreads AnzahlsM
    Maximale Anzahl unbeschäftigter Threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information files
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style +
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style meta information
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents +
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents using the specified magic file
    MinSpareServers Anzahl 5 sM
    Minimale Anzahl der unbeschäftigten Kindprozesse des +
    MinSpareServers Anzahl 5 sM
    Minimale Anzahl der unbeschäftigten Kindprozesse des Servers
    MinSpareThreads AnzahlsM
    Minimale Anzahl unbeschäftigter Threads, die zur +
    MinSpareThreads AnzahlsM
    Minimale Anzahl unbeschäftigter Threads, die zur Bedienung von Anfragespitzen zur Verfügung stehen
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    ModemStandard V.21|V.26bis|V.32|V.92E
    Modem standard to simulate
    ModMimeUsePathInfo On|Off Off dB
    Tells mod_mime to treat path_info components as part of the filename
    MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index c90554f0f6..a00752d2bd 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -494,7 +494,7 @@ matching URLs
    LogFormat format|nickname [nickname] "%h %l %u %t \"%r\" +svB
    Describes a format for use in a log file
    LogLevel level warn svC
    Controls the verbosity of the ErrorLog
    LuaCodeCache stat|forever|neversvdhX
    Configure the compiled code cache.
    LuaCodeCache stat|forever|never stat svdhX
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the check_user_id phase of request processing
    LuaPackagePath /path/to/include/?.luasvdhX
    Add a directory to lua's package.path
    svdhX
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directorysvdhX
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max]svdhX
    One of once, request, conn, server -- default is once
    LuaScope once|request|conn|server [max|min max] once svdhX
    One of once, request, conn, server -- default is once
    MaxClients numbersM
    Maximum number of connections that will be processed simultaneously
    MaxKeepAliveRequests number 100 svC
    Number of requests allowed on a persistent diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es index 2b94672624..5ade567fea 100644 --- a/docs/manual/mod/quickreference.html.es +++ b/docs/manual/mod/quickreference.html.es @@ -501,42 +501,45 @@ matching URLs
    LogFormat format|nickname [nickname] "%h %l %u %t \"%r\" +svB
    Describes a format for use in a log file
    LogLevel level warn svC
    Controls the verbosity of the ErrorLog
    LuaCodeCache stat|forever|neverX
    -
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]X
    -
    LuaPackageCPath /path/to/include/?.soaX
    -
    LuaPackagePath /path/to/include/?.luaX
    -
    LuaRoot /path/to/a/directoryX
    Specify the base path
    LuaScope once|request|conn|server [max|min max]X
    -
    MaxClients numbersM
    Maximum number of connections that will be processed +
    LuaCodeCache stat|forever|never stat svdhX
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the check_user_id phase of request processing
    LuaHookFixups /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the fixups phase of request +processing
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the insert_filter phase of request processing
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the map_to_storage phase of request processing
    LuaHookTranslateName /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the translate name phase of request processing
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the type_checker phase of request processing
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]svdhX
    Map a path to a lua handler
    LuaPackageCPath /path/to/include/?.soasvdhX
    Add a directory to lua's package.cpath
    LuaPackagePath /path/to/include/?.luasvdhX
    Add a directory to lua's package.path
    svdhX
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directorysvdhX
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max] once svdhX
    One of once, request, conn, server -- default is once
    MaxClients numbersM
    Maximum number of connections that will be processed simultaneously
    MaxKeepAliveRequests number 100 svC
    Number of requests allowed on a persistent +
    MaxKeepAliveRequests number 100 svC
    Number of requests allowed on a persistent connection
    MaxMemFree KBytes 0 sM
    Maximum amount of memory that the main allocator is allowed +
    MaxMemFree KBytes 0 sM
    Maximum amount of memory that the main allocator is allowed to hold without calling free()
    MaxRequestsPerChild number 10000 sM
    Limit on the number of requests that an individual child server +
    MaxRequestsPerChild number 10000 sM
    Limit on the number of requests that an individual child server will handle during its life
    MaxSpareServers number 10 sM
    Maximum number of idle child server processes
    MaxSpareThreads numbersM
    Maximum number of idle threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information +
    MaxSpareServers number 10 sM
    Maximum number of idle child server processes
    MaxSpareThreads numbersM
    Maximum number of idle threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information files
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style +
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style meta information
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents +
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents using the specified magic file
    MinSpareServers number 5 sM
    Minimum number of idle child server processes
    MinSpareThreads numbersM
    Minimum number of idle threads available to handle request +
    MinSpareServers number 5 sM
    Minimum number of idle child server processes
    MinSpareThreads numbersM
    Minimum number of idle threads available to handle request spikes
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    ModemStandard V.21|V.26bis|V.32|V.92E
    Modem standard to simulate
    ModMimeUsePathInfo On|Off Off dB
    Tells mod_mime to treat path_info components as part of the filename
    MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers diff --git a/docs/manual/mod/quickreference.html.ja.utf8 b/docs/manual/mod/quickreference.html.ja.utf8 index ed43fda4f5..c0a1479434 100644 --- a/docs/manual/mod/quickreference.html.ja.utf8 +++ b/docs/manual/mod/quickreference.html.ja.utf8 @@ -464,40 +464,43 @@ Certificate Authority or global client certificates
    LogFormat format|nickname [nickname] "%h %l %u %t \"%r\" +svB
    ログファイルで使用する書式を設定する
    LogLevel level warn svC
    ErrorLog の冗長性を制御する
    LuaCodeCache stat|forever|neverX
    -
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]X
    -
    LuaPackageCPath /path/to/include/?.soaX
    -
    LuaPackagePath /path/to/include/?.luaX
    -
    LuaRoot /path/to/a/directoryX
    Specify the base path
    LuaScope once|request|conn|server [max|min max]X
    -
    MaxClients numbersM
    リクエストに応答するために作成される +
    LuaCodeCache stat|forever|never stat svdhX
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the check_user_id phase of request processing
    LuaHookFixups /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the fixups phase of request +processing
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the insert_filter phase of request processing
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the map_to_storage phase of request processing
    LuaHookTranslateName /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the translate name phase of request processing
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the type_checker phase of request processing
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]svdhX
    Map a path to a lua handler
    LuaPackageCPath /path/to/include/?.soasvdhX
    Add a directory to lua's package.cpath
    LuaPackagePath /path/to/include/?.luasvdhX
    Add a directory to lua's package.path
    svdhX
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directorysvdhX
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max] once svdhX
    One of once, request, conn, server -- default is once
    MaxClients numbersM
    リクエストに応答するために作成される 子プロセスの最大個数
    MaxKeepAliveRequests number 100 svC
    持続的な接続上で許可されるリクエストの数
    MaxMemFree KBytes 0 sM
    free() が呼ばれない限り、 +
    MaxKeepAliveRequests number 100 svC
    持続的な接続上で許可されるリクエストの数
    MaxMemFree KBytes 0 sM
    free() が呼ばれない限り、 主メモリアロケータが保持し続けられるメモリの最大量
    MaxRequestsPerChild number 10000 sM
    個々の子サーバが稼働中に扱うリクエスト数の上限
    MaxSpareServers number 10 sM
    アイドルな子サーバプロセスの最大個数
    MaxSpareThreads numbersM
    アイドルスレッドの最大数
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information +
    MaxRequestsPerChild number 10000 sM
    個々の子サーバが稼働中に扱うリクエスト数の上限
    MaxSpareServers number 10 sM
    アイドルな子サーバプロセスの最大個数
    MaxSpareThreads numbersM
    アイドルスレッドの最大数
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    Name of the directory to find CERN-style meta information files
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style +
    MetaFiles on|off off svdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta svdhE
    File name suffix for the file containg CERN-style meta information
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents +
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents using the specified magic file
    MinSpareServers number 5 sM
    アイドルな子サーバプロセスの最小個数
    MinSpareThreads numbersM
    リクエストに応答することのできる +
    MinSpareServers number 5 sM
    アイドルな子サーバプロセスの最小個数
    MinSpareThreads numbersM
    リクエストに応答することのできる アイドルスレッド数の最小数
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    MMapFile file-path [file-path] ...sX
    Map a list of files into memory at startup time
    ModemStandard V.21|V.26bis|V.32|V.92E
    Modem standard to simulate
    ModMimeUsePathInfo On|Off Off d
    path_info コンポーネントをファイル名の一部として扱うように mod_mime に通知する
    MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers diff --git a/docs/manual/mod/quickreference.html.ko.euc-kr b/docs/manual/mod/quickreference.html.ko.euc-kr index db27a0ed93..9d6a455fcc 100644 --- a/docs/manual/mod/quickreference.html.ko.euc-kr +++ b/docs/manual/mod/quickreference.html.ko.euc-kr @@ -457,40 +457,43 @@ matching URLs
    LogFormat format|nickname [nickname] "%h %l %u %t \"%r\" +svB
    ·Î±×ÆÄÀÏ¿¡ »ç¿ëÇÒ Çü½ÄÀ» ±â¼úÇÑ´Ù
    LogLevel level warn svC
    Controls the verbosity of the ErrorLog
    LuaCodeCache stat|forever|neverX
    -
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameX
    -
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameX
    -
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]X
    -
    LuaPackageCPath /path/to/include/?.soaX
    -
    LuaPackagePath /path/to/include/?.luaX
    -
    LuaRoot /path/to/a/directoryX
    Specify the base path
    LuaScope once|request|conn|server [max|min max]X
    -
    MaxClients numbersM
    Maximum number of connections that will be processed +
    LuaCodeCache stat|forever|never stat svdhX
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the check_user_id phase of request processing
    LuaHookFixups /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the fixups phase of request +processing
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the insert_filter phase of request processing
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the map_to_storage phase of request processing
    LuaHookTranslateName /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the translate name phase of request processing
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_namesvdhX
    Provide a hook for the type_checker phase of request processing
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]svdhX
    Map a path to a lua handler
    LuaPackageCPath /path/to/include/?.soasvdhX
    Add a directory to lua's package.cpath
    LuaPackagePath /path/to/include/?.luasvdhX
    Add a directory to lua's package.path
    svdhX
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directorysvdhX
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max] once svdhX
    One of once, request, conn, server -- default is once
    MaxClients numbersM
    Maximum number of connections that will be processed simultaneously
    MaxKeepAliveRequests number 100 svC
    Number of requests allowed on a persistent +
    MaxKeepAliveRequests number 100 svC
    Number of requests allowed on a persistent connection
    MaxMemFree KBytes 0 sM
    Maximum amount of memory that the main allocator is allowed +
    MaxMemFree KBytes 0 sM
    Maximum amount of memory that the main allocator is allowed to hold without calling free()
    MaxRequestsPerChild number 10000 sM
    Limit on the number of requests that an individual child server +
    MaxRequestsPerChild number 10000 sM
    Limit on the number of requests that an individual child server will handle during its life
    MaxSpareServers number 10 sM
    Maximum number of idle child server processes
    MaxSpareThreads numbersM
    Maximum number of idle threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    CERN ¸ÞŸÁ¤º¸¸¦ ãÀ» µð·ºÅ丮 À̸§
    MetaFiles on|off off svdhE
    CERN ¸ÞŸÆÄÀÏÀ» ó¸®ÇÑ´Ù
    MetaSuffix suffix .meta svdhE
    CERN ¸ÞŸÁ¤º¸¸¦ ÀúÀåÇÏ´Â ÆÄÀÏÀÇ Á¢¹Ì»ç
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents +
    MaxSpareServers number 10 sM
    Maximum number of idle child server processes
    MaxSpareThreads numbersM
    Maximum number of idle threads
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web svdhE
    CERN ¸ÞŸÁ¤º¸¸¦ ãÀ» µð·ºÅ丮 À̸§
    MetaFiles on|off off svdhE
    CERN ¸ÞŸÆÄÀÏÀ» ó¸®ÇÑ´Ù
    MetaSuffix suffix .meta svdhE
    CERN ¸ÞŸÁ¤º¸¸¦ ÀúÀåÇÏ´Â ÆÄÀÏÀÇ Á¢¹Ì»ç
    MimeMagicFile file-pathsvE
    Enable MIME-type determination based on file contents using the specified magic file
    MinSpareServers number 5 sM
    Minimum number of idle child server processes
    MinSpareThreads numbersM
    Minimum number of idle threads available to handle request +
    MinSpareServers number 5 sM
    Minimum number of idle child server processes
    MinSpareThreads numbersM
    Minimum number of idle threads available to handle request spikes
    MMapFile file-path [file-path] ...sX
    ½ÃÀ۽à ¿©·¯ ÆÄÀÏÀ» ¸Þ¸ð¸®¿¡ ´ëÀÀÇÑ´Ù
    MMapFile file-path [file-path] ...sX
    ½ÃÀ۽à ¿©·¯ ÆÄÀÏÀ» ¸Þ¸ð¸®¿¡ ´ëÀÀÇÑ´Ù
    ModemStandard V.21|V.26bis|V.32|V.92E
    Modem standard to simulate
    ModMimeUsePathInfo On|Off Off dB
    Tells mod_mime to treat path_info components as part of the filename
    MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers diff --git a/docs/manual/mod/quickreference.html.tr.utf8 b/docs/manual/mod/quickreference.html.tr.utf8 index 2a30ea8bae..29902eae6a 100644 --- a/docs/manual/mod/quickreference.html.tr.utf8 +++ b/docs/manual/mod/quickreference.html.tr.utf8 @@ -504,40 +504,43 @@ uygulanır.
    "%h %l %u %t \"%r\" +skT
    Bir günlük dosyasında kullanılmak üzere girdi biçemi tanımlar.
    LogLevel seviye warn skÇ
    Hata günlüklerinin ayrıntı seviyesini belirler.
    LuaCodeCache stat|forever|neverD
    -
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameD
    -
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameD
    -
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]D
    -
    LuaPackageCPath /path/to/include/?.soaD
    -
    LuaPackagePath /path/to/include/?.luaD
    -
    LuaRoot /path/to/a/directoryD
    Specify the base path
    LuaScope once|request|conn|server [max|min max]D
    -
    MaxClients sayısM
    Aynı anda işleme sokulacak azami bağlantı sayısı
    MaxKeepAliveRequests sayı 100 skÇ
    Bir kalıcı bağlantıda izin verilen istek sayısı
    MaxMemFree kB-sayısı 0 sM
    free() çağrılmaksızın ana bellek ayırıcının +
    LuaCodeCache stat|forever|never stat skdhD
    Configure the compiled code cache.
    LuaHookAccessChecker /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the access_checker phase of request processing
    LuaHookAuthChecker /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the auth_checker phase of request processing
    LuaHookCheckUserID /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the check_user_id phase of request processing
    LuaHookFixups /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the fixups phase of request +processing
    LuaHookInsertFilter /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the insert_filter phase of request processing
    LuaHookMapToStorage /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the map_to_storage phase of request processing
    LuaHookTranslateName /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the translate name phase of request processing
    LuaHookTypeChecker /path/to/lua/script.lua hook_function_nameskdhD
    Provide a hook for the type_checker phase of request processing
    LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name]skdhD
    Map a path to a lua handler
    LuaPackageCPath /path/to/include/?.soaskdhD
    Add a directory to lua's package.cpath
    LuaPackagePath /path/to/include/?.luaskdhD
    Add a directory to lua's package.path
    skdhD
    Provide a hook for the quick handler of request processing
    LuaRoot /path/to/a/directoryskdhD
    Specify the base path for resolving relative paths for mod_lua directives
    LuaScope once|request|conn|server [max|min max] once skdhD
    One of once, request, conn, server -- default is once
    MaxClients sayısM
    Aynı anda işleme sokulacak azami bağlantı sayısı
    MaxKeepAliveRequests sayı 100 skÇ
    Bir kalıcı bağlantıda izin verilen istek sayısı
    MaxMemFree kB-sayısı 0 sM
    free() çağrılmaksızın ana bellek ayırıcının ayırmasına izin verilen azami bellek miktarını belirler.
    MaxRequestsPerChild sayı 10000 sM
    Tek bir çocuk sürecin ömrü boyunca işleme sokabileceği istek +
    MaxRequestsPerChild sayı 10000 sM
    Tek bir çocuk sürecin ömrü boyunca işleme sokabileceği istek sayısını sınırlamakta kullanılır.
    MaxSpareServers sayı 10 sM
    Boştaki çocuk süreçlerin azami sayısı
    MaxSpareThreads numbersM
    Boştaki azami evre sayısını belirler
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web skdhE
    Name of the directory to find CERN-style meta information +
    MaxSpareServers sayı 10 sM
    Boştaki çocuk süreçlerin azami sayısı
    MaxSpareThreads numbersM
    Boştaki azami evre sayısını belirler
    MaxThreads number 2048 sM
    Set the maximum number of worker threads
    MetaDir directory .web skdhE
    Name of the directory to find CERN-style meta information files
    MetaFiles on|off off skdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta skdhE
    File name suffix for the file containg CERN-style +
    MetaFiles on|off off skdhE
    Activates CERN meta-file processing
    MetaSuffix suffix .meta skdhE
    File name suffix for the file containg CERN-style meta information
    MimeMagicFile file-pathskE
    Enable MIME-type determination based on file contents +
    MimeMagicFile file-pathskE
    Enable MIME-type determination based on file contents using the specified magic file
    MinSpareServers sayı 5 sM
    Boştaki çocuk süreçlerin asgari sayısı
    MinSpareThreads sayısM
    İsteklerin ani artışında devreye girecek boştaki evrelerin asgari +
    MinSpareServers sayı 5 sM
    Boştaki çocuk süreçlerin asgari sayısı
    MinSpareThreads sayısM
    İsteklerin ani artışında devreye girecek boştaki evrelerin asgari sayısını belirler.
    MMapFile file-path [file-path] ...sD
    Map a list of files into memory at startup time
    MMapFile file-path [file-path] ...sD
    Map a list of files into memory at startup time
    ModemStandard V.21|V.26bis|V.32|V.92E
    Modem standard to simulate
    ModMimeUsePathInfo On|Off Off dT
    Tells mod_mime to treat path_info components as part of the filename
    MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers diff --git a/docs/manual/sitemap.html.de b/docs/manual/sitemap.html.de index a0e1049e1d..34ab4bd658 100644 --- a/docs/manual/sitemap.html.de +++ b/docs/manual/sitemap.html.de @@ -199,6 +199,7 @@ HPUX betreiben
  • Apache-Modul mod_dav_lock
  • Apache-Modul mod_dbd
  • Apache-Modul mod_deflate
  • +
  • Apache-Modul mod_dialup
  • Apache-Modul mod_dir
  • Apache-Modul mod_disk_cache
  • Apache-Modul mod_dumpio
  • @@ -240,6 +241,7 @@ HPUX betreiben
  • Apache-Modul mod_proxy_ftp
  • Apache-Modul mod_proxy_http
  • Apache-Modul mod_proxy_scgi
  • +
  • Apache-Modul mod_ratelimit
  • Apache-Modul mod_reflector
  • Apache-Modul mod_remoteip
  • Apache-Modul mod_reqtimeout
  • diff --git a/docs/manual/sitemap.html.es b/docs/manual/sitemap.html.es index 3289016f17..5afe0b5731 100644 --- a/docs/manual/sitemap.html.es +++ b/docs/manual/sitemap.html.es @@ -197,6 +197,7 @@ usados para describir las directivas de Apache
  • Módulo Apache mod_dav_lock
  • Módulo Apache mod_dbd
  • Módulo Apache mod_deflate
  • +
  • Módulo Apache mod_dialup
  • Módulo Apache mod_dir
  • Módulo Apache mod_disk_cache
  • Módulo Apache mod_dumpio
  • @@ -238,6 +239,7 @@ usados para describir las directivas de Apache
  • Módulo Apache mod_proxy_ftp
  • Módulo Apache mod_proxy_http
  • Módulo Apache mod_proxy_scgi
  • +
  • Módulo Apache mod_ratelimit
  • Módulo Apache mod_reflector
  • Módulo Apache mod_remoteip
  • Módulo Apache mod_reqtimeout
  • diff --git a/docs/manual/sitemap.html.fr b/docs/manual/sitemap.html.fr index 1e432f417f..e7c52c351f 100644 --- a/docs/manual/sitemap.html.fr +++ b/docs/manual/sitemap.html.fr @@ -212,6 +212,7 @@ pour d
  • Module Apache mod_dav_lock
  • Module Apache mod_dbd
  • Module Apache mod_deflate
  • +
  • Module Apache mod_dialup
  • Module Apache mod_dir
  • Module Apache mod_disk_cache
  • Module Apache mod_dumpio
  • @@ -253,6 +254,7 @@ pour d
  • Module Apache mod_proxy_ftp
  • Module Apache mod_proxy_http
  • Module Apache mod_proxy_scgi
  • +
  • Module Apache mod_ratelimit
  • Module Apache mod_reflector
  • Module Apache mod_remoteip
  • Module Apache mod_reqtimeout
  • diff --git a/docs/manual/sitemap.html.ja.utf8 b/docs/manual/sitemap.html.ja.utf8 index 0d81478862..6d4e0e3850 100644 --- a/docs/manual/sitemap.html.ja.utf8 +++ b/docs/manual/sitemap.html.ja.utf8 @@ -195,6 +195,7 @@
  • Apache モジュール mod_dav_lock
  • Apache モジュール mod_dbd
  • Apache モジュール mod_deflate
  • +
  • Apache モジュール mod_dialup
  • Apache モジュール mod_dir
  • Apache モジュール mod_disk_cache
  • Apache モジュール mod_dumpio
  • @@ -236,6 +237,7 @@
  • Apache モジュール mod_proxy_ftp
  • Apache モジュール mod_proxy_http
  • Apache モジュール mod_proxy_scgi
  • +
  • Apache モジュール mod_ratelimit
  • Apache モジュール mod_reflector
  • Apache モジュール mod_remoteip
  • Apache モジュール mod_reqtimeout
  • diff --git a/docs/manual/sitemap.html.ko.euc-kr b/docs/manual/sitemap.html.ko.euc-kr index e80fad19bd..c1f0ea5568 100644 --- a/docs/manual/sitemap.html.ko.euc-kr +++ b/docs/manual/sitemap.html.ko.euc-kr @@ -195,6 +195,7 @@
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_dav_lock
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_dbd
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_deflate
  • +
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_dialup
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_dir
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_disk_cache
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_dumpio
  • @@ -236,6 +237,7 @@
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_proxy_ftp
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_proxy_http
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_proxy_scgi
  • +
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_ratelimit
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_reflector
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_remoteip
  • ¾ÆÆÄÄ¡ ¸ðµâ mod_reqtimeout
  • diff --git a/docs/manual/sitemap.html.tr.utf8 b/docs/manual/sitemap.html.tr.utf8 index 68740c81ff..e06e79eee6 100644 --- a/docs/manual/sitemap.html.tr.utf8 +++ b/docs/manual/sitemap.html.tr.utf8 @@ -196,6 +196,7 @@ Windows ile Apache Kullanımı
  • Apache Modülü mod_dav_lock
  • Apache Modülü mod_dbd
  • Apache Modülü mod_deflate
  • +
  • Apache Modülü mod_dialup
  • Apache Modülü mod_dir
  • Apache Modülü mod_disk_cache
  • Apache Modülü mod_dumpio
  • @@ -237,6 +238,7 @@ Windows ile Apache Kullanımı
  • Apache Modülü mod_proxy_ftp
  • Apache Modülü mod_proxy_http
  • Apache Modülü mod_proxy_scgi
  • +
  • Apache Modülü mod_ratelimit
  • Apache Modülü mod_reflector
  • Apache Modülü mod_remoteip
  • Apache Modülü mod_reqtimeout
  • -- 2.40.0