From: Stefan Fritsch Date: Sun, 23 Oct 2011 22:14:32 +0000 (+0000) Subject: Update transforms X-Git-Tag: 2.3.15~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede1b2f024c3a0ee845f04aa6844f5f430ac2cfa;p=thirdparty%2Fapache%2Fhttpd.git Update transforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1187990 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/custom-error.html.en b/docs/manual/custom-error.html.en index 3585a7cfb74..332df9232fd 100644 --- a/docs/manual/custom-error.html.en +++ b/docs/manual/custom-error.html.en @@ -75,12 +75,13 @@ ErrorDocument <3-digit-code> <action>

-

where the action can be one of:

+

where the action will be treated as:

    -
  1. Text to be displayed. Wrap the text with quotes (").
  2. -
  3. A local URL to redirect to.
  4. -
  5. An external URL to redirect to.
  6. +
  7. A local URL to redirect to (if the action begins with a "/").
  8. +
  9. An external URL to redirect to (if the action is a valid URL).
  10. +
  11. Text to be displayed (if none of the above). The text must be + wrapped in quotes (") if it consists of more than one word.

When redirecting to a local URL, additional environment variables diff --git a/docs/manual/custom-error.xml.es b/docs/manual/custom-error.xml.es index 3c38365e837..927572133f8 100644 --- a/docs/manual/custom-error.xml.es +++ b/docs/manual/custom-error.xml.es @@ -1,7 +1,7 @@ - + + + + + + + +mod_proxy_html - Apache HTTP Server + + + + + +

+
<-
+
+Apache > HTTP Server > Documentation > Version 2.3 > Modules
+
+

Apache Module mod_proxy_html

+
+

Available Languages:  en 

+
+ + + + +
Description:Rewrite HTML links in to ensure they are addressable +from Clients' networks in a proxy context.
Status:Base
Module Identifier:proxy_html_module
Source File:mod_proxy_html.c
Compatibility:Version 2.4 and later. Available as a third-party module +for earlier 2.x versions
+

Summary

+ +

This module provides an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy.

+ +

For example, if a company has an application server at appserver.example.com that is only visible from within the company's internal network, and a public webserver www.example.com, they may wish to provide a gateway to the application server at http://www.example.com/appserver/. When the application server links to itself, those links need to be rewritten to work through the gateway. mod_proxy_html serves to rewrite <a href="http://appserver.example.com/foo/bar.html">foobar</a> to <a href="http://www.example.com/appserver/foo/bar.html">foobar</a> making it accessible from outside.

+ +

mod_proxy_html was originally developed at WebÞing, whose +extensive documentation may be useful to users.

+
+ + +
top
+

ProxyHTMLBufSize Directive

+ + + + + + + +
Description:Sets the buffer size increment for buffering inline scripts and +stylesheets.
Syntax:ProxyHTMLBufSize bytes
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

In order to parse non-HTML content (stylesheets and scripts), mod_proxy_html +has to read the entire script or stylesheet into a buffer. This buffer will +be expanded as necessary to hold the largest script or stylesheet in a page, +in increments of [nnnn] as set by this directive.

+

The default is 8192, and will work well for almost all pages. However, +if you know you're proxying a lot of pages containing stylesheets and/or +scripts bigger than 8K (that is, for a single script or stylesheet, +NOT in total), it will be more efficient to set a larger buffer +size and avoid the need to resize the buffer dynamically during a request. +

+ +
+
top
+

ProxyHTMLCharsetOut Directive

+ + + + + + + +
Description:Specify a charset for mod_proxy_html output.
Syntax:ProxyHTMLCharsetOut Charset | *
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

This selects an encoding for mod_proxy_html output. It should not +normally be used, as any change from the default UTF-8 +(Unicode - as used internally by libxml2) will impose an additional +processing overhead. The special token ProxyHTMLCharsetOut * +will generate output using the same encoding as the input.

+

Note that this relies on mod_xml2enc being loaded.

+ +
+
top
+

ProxyHTMLDocType Directive

+ + + + + + + +
Description:Sets an HTML or XHTML document type declaration.
Syntax:ProxyHTMLDocType HTML|XHTML [Legacy]
OR +
ProxyHTMLDocType fpi [SGML|XML]
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

In the first form, documents will be declared as HTML 4.01 or XHTML 1.0 +according to the option selected. This option also determines whether +HTML or XHTML syntax is used for output. Note that the format of the +documents coming from the backend server is immaterial: the parser will +deal with it automatically. If the optional second argument is set to +"Legacy", documents will be declared "Transitional", an option that may +be necessary if you are proxying pre-1998 content or working with defective +authoring/publishing tools.

+

In the second form, it will insert your own FPI. The optional second +argument determines whether SGML/HTML or XML/XHTML syntax will be used.

+

The default is changed to omitting any FPI, +on the grounds that no FPI is better than a bogus one. If your backend +generates decent HTML or XHTML, set it accordingly.

+

If the first form is used, mod_proxy_html +will also clean up the HTML to the specified standard. It cannot +fix every error, but it will strip out bogus elements and attributes. +It will also optionally log other errors at LogLevel Debug.

+ +
+
top
+

ProxyHTMLEnable Directive

+ + + + + + + +
Description:Turns the proxy_html filter on or off.
Syntax:ProxyHTMLEnable On|Off
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +module for earlier 2.x versions.
+

A simple switch to enable or disable the proxy_html filter. + If mod_xml2enc is loaded it will also automatically + set up internationalisation support.

+

Note that the proxy_html filter will only act on HTML data + (Content-Type text/html or application/xhtml+xml) and when the + data are proxied. You can override this (at your own risk) by + setting the PROXY_HTML_FORCE environment variable.

+ +
+
top
+

ProxyHTMLEvents Directive

+ + + + + + + +
Description:Specify attributes to treat as scripting events.
Syntax:ProxyHTMLEvents attribute [attribute ...]
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

Specifies one or more attributes to treat as scripting events and +apply ProxyHTMLURLMaps to where appropriate. +You can specify any number of attributes in one or more +ProxyHTMLEvents directives.

+

The default configuration defines the events in standard HTML 4 +and XHTML 1.

+ +
+
top
+

ProxyHTMLExtended Directive

+ + + + + + + +
Description:Determines whether to fix links in inline scripts, stylesheets, +and scripting events.
Syntax:ProxyHTMLExtended On|Off
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

Set to Off, HTML links are rewritten according +ProxyHTMLURLMap directives, but links appearing +in Javascript and CSS are ignored.

+

Set to On, all scripting events and embedded scripts or +stylesheets are also processed by the ProxyHTMLURLMap +rules, according to the flags set for each rule. Since this requires more +parsing, performance will be best if you only enable it when strictly necessary.

+ +
+
top
+

ProxyHTMLFixups Directive

+ + + + + + + +
Description:Fixes for simple HTML errors.
Syntax:ProxyHTMLFixups [lowercase] [dospath] [reset]
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

This directive takes one to three arguments as follows:

+
    +
  • lowercase Urls are rewritten to lowercase
  • +
  • dospath Backslashes in URLs are rewritten to forward slashes.
  • +
  • reset Unset any options set at a higher level in the configuration.
  • +
+

Take care when using these. The fixes will correct certain authoring +mistakes, but risk also erroneously fixing links that were correct to start with. +Only use them if you know you have a broken backend server.

+ +
+
top
+

ProxyHTMLInterp Directive

+ + + + + + + +
Description:Enables per-request interpolation of +ProxyHTMLURLMap rules.
Syntax:ProxyHTMLInterp On|Off
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

This enables per-request interpolation in + ProxyHTMLURLMap to- and from- patterns.

+

If interpolation is not enabled, all rules are pre-compiled at startup. + With interpolation, they must be re-compiled for every request, which + implies an extra processing overhead. It should therefore be + enabled only when necessary.

+ +
+
top
+

ProxyHTMLLinks Directive

+ + + + + + + +
Description:Specify HTML elements that have URL attributes to be rewritten.
Syntax:ProxyHTMLLinks element attribute [attribute2 ...]
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

Specifies elements that have URL attributes that should be rewritten +using standard ProxyHTMLURLMaps. You will need one +ProxyHTMLLinks directive per element, but it can have any number of attributes.

+

The default configuration defines the HTML links for standard HTML 4 +and XHTML 1.

+ +
+
top
+

ProxyHTMLLogVerbose Directive

+ + + + + + + +
Description:Enables extra verbose logging for debug
Syntax:ProxyHTMLLogVerbose On|Off
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

If On, mod_proxy_html will log extra diagnostic information (at +LogLevel Info) +including charset detection and processing and +ProxyHTMLURLMap matches and rewrites. +This may be helpful in debugging a configuration.

+ +
+
top
+

ProxyHTMLStripComments Directive

+ + + + + + + +
Description:Determines whether to strip HTML comments.
Syntax:ProxyHTMLStripComments On|Off
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +for earlier 2.x versions
+

This directive will cause mod_proxy_html to strip HTML comments. +Note that this will also kill off any scripts or styles embedded in +comments (a bogosity introduced in 1995/6 with Netscape 2 for the +benefit of then-older browsers, but still in use today). +It may also interfere with comment-based processors such as SSI or ESI: +be sure to run any of those before mod_proxy_html in the +filter chain if stripping comments!

+ +
+
top
+

ProxyHTMLURLMap Directive

+ + + + + + + +
Description:Defines a rule to rewrite HTML links
Syntax:ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]
Context:server config, virtual host, directory
Status:Base
Module:mod_proxy_html
Compatibility:Version 2.4 and later; available as a third-party +module for earlier 2.x versions.
+

This is the key directive for rewriting HTML links. When parsing a document, +whenever a link target matches from-pattern, the matching +portion will be rewritten to to-pattern, as modified by any +flags supplied.

+ +

The optional third argument may define any of the following +Flags. Flags are case-sensitive.

+
+
h
+

Ignore HTML links (pass through unchanged)

+
e
+

Ignore scripting events (pass through unchanged)

+
c
+

Pass embedded script and style sections through untouched.

+ +
L
+

Last-match. If this rule matches, no more rules are applied +(note that this happens automatically for HTML links).

+
l
+

Opposite to L. Overrides the one-change-only default +behaviour with HTML links.

+
R
+

Use Regular Expression matching-and-replace. from-pattern +is a regexp, and to-pattern a replacement string that may be +based on the regexp. Regexp memory is supported: you can use brackets () +in the from-pattern and retrieve the matches with $1 to $9 +in the to-pattern.

+ +

If R is not set, it will use string-literal search-and-replace. +The logic is starts-with in HTML links, but +contains in scripting events and embedded script and style sections. +

+
+
x
+

Use POSIX extended Regular Expressions. Only applicable with R.

+
i
+

Case-insensitive matching. Only applicable with R.

+ +
n
+

Disable regexp memory (for speed). Only applicable with R.

+
s
+

Line-based regexp matching. Only applicable with R.

+
^
+

Match at start only. This applies only to string matching +(not regexps) and is irrelevant to HTML links.

+
$
+

Match at end only. This applies only to string matching +(not regexps) and is irrelevant to HTML links.

+
V
+

Interpolate environment variables in to-pattern. +A string of the form ${varname|default} will be replaced by the +value of environment variable varname. If that is unset, it +is replaced by default. The |default is optional.

+

NOTE: interpolation will only be enabled if +ProxyHTMLInterp is On.

+
+ +
v
+

Interpolate environment variables in from-pattern. +Patterns supported are as above.

+

NOTE: interpolation will only be enabled if +ProxyHTMLInterp is On.

+
+
+ + +
+
+
+

Available Languages:  en 

+
+ \ No newline at end of file diff --git a/docs/manual/mod/mod_rewrite.html.fr b/docs/manual/mod/mod_rewrite.html.fr index 123f835d861..1bdf86607dc 100644 --- a/docs/manual/mod/mod_rewrite.html.fr +++ b/docs/manual/mod/mod_rewrite.html.fr @@ -969,7 +969,7 @@ la version version 2.1 requête ; les expressions suivantes sont comparées à la sortie de la dernière règle de réécriture qui a été appliquée.

-

Qu'est-ce qui est comparé ?

+

Qu'est-ce qui est comparé ?

Dans un contexte de serveur virtuel VirtualHost, le modèle est tout d'abord comparé à la portion de l'URL située entre le nom d'hôte @@ -1136,14 +1136,18 @@ substitution ! section de laquelle elles sont décrites. Ces trois types de variables sont évaluées dans l'ordre ci-dessus.

-

Comme mentionné précédemment, toutes les règles de - réécriture sont appliquées à la chaîne de Substitution - (selon l'ordre dans lequel elles sont définies dans le fichier - de configuration). L'URL est intégralement +

Chaque règle de réécriture s'applique au résultat de la règle + précédente, selon l'ordre dans lequel elles ont été définies dans + le fichier de configuration. L'URI du chemin du fichier (voir + ci-dessus Qu'est-ce qui est + comparé ?) est intégralement remplacée par la chaîne de Substitution et le processus de réécriture se poursuit jusqu'à ce que toutes les règles aient été appliquées, ou qu'il soit explicitement stoppé - par un drapeau L.

+ par un drapeau L, + ou par un autre drapeau qui implique un arrêt immédiat, comme + END ou + F.

Modifier la chaîne de requête

Par défaut, la chaîne de requête est transmise sans diff --git a/docs/manual/mod/mod_setenvif.html.fr b/docs/manual/mod/mod_setenvif.html.fr index ff87f26ec8d..70ee7ec58e0 100644 --- a/docs/manual/mod/mod_setenvif.html.fr +++ b/docs/manual/mod/mod_setenvif.html.fr @@ -200,14 +200,6 @@ en compte que si aucune correspondance n'a caractéristiques de la requête, et si attribut n'a pas été spécifié sous la forme d'une expression rationnelle. -

  • La référence à une extension d'un certificat client SSL, localisé -par son identifiant objet oid. Dans le cas d'une requête non -SSL, ou en l'absence d'oid configuré, aucune variable ne sera -définie. Si l'oid est trouvé plusieurs fois, les chaînes -individuelles seront concaténées, en les séparant par des virgules -','. L'oid doit faire référence à une extension -sous forme de chaîne. -
  • Le second argument (regex) est une expression rationnelle. Si regex @@ -245,8 +237,6 @@ peuvent se pr :
    SetEnvIf objet_est_une_image xbm XBIT_PROCESSING=1
    :
    - SetEnvIf OID("2.16.840.1.113730.1.13") "(.*)" commentaire-netscape=$1
    - :
    SetEnvIf ^TS ^[a-z] HAVE_TS

    @@ -257,10 +247,6 @@ peuvent se pr quelque part dans le site web www.mon-domaine.example.com.

    -

    La sixième ligne définit la variable d'environnement - commentaire-netscape avec la chaîne trouvée dans le - champ du certificat client SSL correspondant.

    -

    La dernière ligne définit la variable d'environnement HAVE_TS si la requête contient un en-tête dont le nom commence par "TS" et dont la valeur commence par tout caractère du diff --git a/docs/manual/mod/mod_xml2enc.html b/docs/manual/mod/mod_xml2enc.html new file mode 100644 index 00000000000..b2e3e45c36d --- /dev/null +++ b/docs/manual/mod/mod_xml2enc.html @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: mod_xml2enc.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/mod/mod_xml2enc.html.en b/docs/manual/mod/mod_xml2enc.html.en new file mode 100644 index 00000000000..017be5787e3 --- /dev/null +++ b/docs/manual/mod/mod_xml2enc.html.en @@ -0,0 +1,189 @@ + + + +mod_xml2enc - Apache HTTP Server + + + + + +

    +
    <-
    + +
    +

    Apache Module mod_xml2enc

    +
    +

    Available Languages:  en 

    +
    + + + + +
    Description:Enhanced charset/internationalisation support for libxml2-based +filter modules
    Status:Base
    Module Identifier:xml2enc_module
    Source File:mod_xml2enc.c
    Compatibility:Version 2.4 and later. Available as a third-party module +for 2.2.x versions
    +

    Summary

    + +

    This module provides enhanced internationalisation support for + markup-aware filter modules such as mod_proxy_html. + It can automatically detect the encoding of input data and ensure + they are correctly processed by the libxml2 parser, including converting to Unicode (UTF-8) where + necessary. It can also convert data to an encoding of choice + after markup processing, and will ensure the correct charset + value is set in the HTTP Content-Type header.

    +
    + +
    top
    +
    +

    Usage

    +

    There are two usage scenarios: with modules programmed to work + with mod_xml2enc, and with those that are not aware of it:

    +
    +
    Filter modules enabled for mod_xml2enc
    +

    Modules such as mod_proxy_html version 3.1 + and up use the xml2enc_charset optional function to retrieve + the charset argument to pass to the libxml2 parser, and may use the + xml2enc_filter optional function to postprocess to another + encoding. Using mod_xml2enc with an enabled module, no configuration + is necessary: the other module will configure mod_xml2enc for you + (though you may still want to customise it using the configuration + directives below).

    +
    +
    Non-enabled modules
    +

    To use it with a libxml2-based module that isn't explicitly enabled for + mod_xml2enc, you will have to configure the filter chain yourself. + So to use it with a filter foo provided by a module mod_foo to + improve the latter's i18n support with HTML and XML, you could use

    +
    
    +    FilterProvider iconv    xml2enc Content-Type $text/html
    +    FilterProvider iconv    xml2enc Content-Type $xml
    +    FilterProvider markup   foo Content-Type $text/html
    +    FilterProvider markup   foo Content-Type $xml
    +    FilterChain     iconv markup
    +    
    +

    mod_foo will now support any character set supported by either + (or both) of libxml2 or apr_xlate/iconv.

    +
    +
    top
    +
    +

    Programming API

    +

    Programmers writing libxml2-based filter modules are encouraged to + enable them for mod_xml2enc, to provide strong i18n support for your + users without reinventing the wheel. The programming API is exposed in + mod_xml2enc.h, and a usage example is + mod_proxy_html.

    +
    top
    +
    +

    Detecting an Encoding

    +

    Unlike mod_charset_lite, mod_xml2enc is designed + to work with data whose encoding cannot be known in advance and thus + configured. It therefore uses 'sniffing' techniques to detect the + encoding of HTTP data as follows:

    +
      +
    1. If the HTTP Content-Type header includes a + charset parameter, that is used.
    2. +
    3. If the data start with an XML Byte Order Mark (BOM) or an + XML encoding declaration, that is used.
    4. +
    5. If an encoding is declared in an HTML <META> + element, that is used.
    6. +
    7. If none of the above match, the default value set by + xml2EncDefault is used.
    8. +
    +

    The rules are applied in order. As soon as a match is found, + it is used and detection is stopped.

    +
    top
    +
    +

    Output Encoding

    +

    libxml2 always uses UTF-8 (Unicode) +internally, and libxml2-based filter modules will output that by default. +mod_xml2enc can change the output encoding through the API, but there +is currently no way to configure that directly.

    +

    Changing the output encoding should (in theory, at least) never be +necessary, and is not recommended due to the extra processing load on +the server of an unnecessary conversion.

    +
    top
    +
    +

    Unsupported Encodings

    +

    If you are working with encodings that are not supported by any of +the conversion methods available on your platform, you can still alias +them to a supported encoding using xml2EncAlias.

    +
    +
    top
    +

    xml2EncAlias Directive

    + + + + + + +
    Description:Recognise Aliases for encoding values
    Syntax:xml2EncAlias charset alias [alias ...]
    Context:server config
    Status:Base
    Module:mod_xml2enc
    +

    This server-wide directive aliases one or more encoding to another + encoding. This enables encodings not recognised by libxml2 to be handled + internally by libxml2's encoding support using the translation table for + a recognised encoding. This serves two purposes: to support character sets + (or names) not recognised either by libxml2 or iconv, and to skip + conversion for an encoding where it is known to be unnecessary.

    + +
    +
    top
    +

    xml2EncDefault Directive

    + + + + + + + +
    Description:Sets a default encoding to assume when absolutely no information +can be automatically detected
    Syntax:xml2EncDefault name
    Context:server config, virtual host, directory, .htaccess
    Status:Base
    Module:mod_xml2enc
    Compatibility:Version 2.4.0 and later; available as a third-party +module for earlier versions.
    +

    If you are processing data with known encoding but no encoding + information, you can set this default to help mod_xml2enc process + the data correctly. For example, to work with the default value + of Latin1 (iso-8859-1 specified in HTTP/1.0, use

    +

    xml2EncDefault iso-8859-1

    + +
    +
    top
    +

    xml2StartParse Directive

    + + + + + + +
    Description:Advise the parser to skip leading junk.
    Syntax:xml2StartParse element [element ...]
    Context:server config, virtual host, directory, .htaccess
    Status:Base
    Module:mod_xml2enc
    +

    Specify that the markup parser should start at the first instance + of any of the elements specified. This can be used as a workaround + where a broken backend inserts leading junk that messes up the parser (example here).

    +

    It should never be used for XML, nor well-formed HTML.

    + +
    +
    +
    +

    Available Languages:  en 

    +
    + \ No newline at end of file diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de index d4aa7d9b3d4..f7f242200f1 100644 --- a/docs/manual/mod/quickreference.html.de +++ b/docs/manual/mod/quickreference.html.de @@ -647,6 +647,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>svEContainer for directives applied to regular-expression-matched proxied resources @@ -987,6 +1003,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    Verfügbare Sprachen:  de  | diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 511bd9b6f9d..071110ee3c6 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -636,6 +636,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>svEContainer for directives applied to regular-expression-matched proxied resources @@ -969,6 +985,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    Available Languages:  de  | diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es index 4297c7f7f53..0f593792722 100644 --- a/docs/manual/mod/quickreference.html.es +++ b/docs/manual/mod/quickreference.html.es @@ -643,6 +643,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>svEContainer for directives applied to regular-expression-matched proxied resources @@ -977,6 +993,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    Idiomas disponibles:  de  | diff --git a/docs/manual/mod/quickreference.html.ja.utf8 b/docs/manual/mod/quickreference.html.ja.utf8 index 3cbd6dc2318..0a457a558fa 100644 --- a/docs/manual/mod/quickreference.html.ja.utf8 +++ b/docs/manual/mod/quickreference.html.ja.utf8 @@ -602,6 +602,22 @@ malicious privileges-aware code. ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svE内部データスループットバッファのサイズを決定する <ProxyMatch regex> ...</ProxyMatch>svE正規表現でのマッチによるプロキシリソース用のディレクティブコンテナ ProxyMaxForwards number 10 svEリクエストがフォワードされるプロキシの最大数 @@ -907,6 +923,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhB実行ビットが設定されたファイルの SSI ディレクティブを 解析する +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    言語:  de  | diff --git a/docs/manual/mod/quickreference.html.ko.euc-kr b/docs/manual/mod/quickreference.html.ko.euc-kr index 136e7c2c881..81af0f84104 100644 --- a/docs/manual/mod/quickreference.html.ko.euc-kr +++ b/docs/manual/mod/quickreference.html.ko.euc-kr @@ -605,6 +605,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>svEContainer for directives applied to regular-expression-matched proxied resources @@ -931,6 +947,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    °¡´ÉÇÑ ¾ð¾î:  de  | diff --git a/docs/manual/mod/quickreference.html.tr.utf8 b/docs/manual/mod/quickreference.html.tr.utf8 index bedd1468052..48959598bf1 100644 --- a/docs/manual/mod/quickreference.html.tr.utf8 +++ b/docs/manual/mod/quickreference.html.tr.utf8 @@ -635,6 +635,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 skdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]skdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]skdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytesskdTSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *skdTSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    skdTSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffskdTTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]skdTSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffskdTDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]skdTFixes for simple HTML errors. +ProxyHTMLInterp On|OffskdTEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]skdTSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffskdTEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffskdTDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]skdTDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 skEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>skEContainer for directives applied to regular-expression-matched proxied resources @@ -970,6 +986,10 @@ for the virtualhost. XBitHack on|off|full off skdhTParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sTRecognise Aliases for encoding values +xml2EncDefault nameskdhTSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]skdhTAdvise the parser to skip leading junk.

    Mevcut Diller:  de  | diff --git a/docs/manual/mod/quickreference.html.zh-cn b/docs/manual/mod/quickreference.html.zh-cn index 962ebdd06d2..aaba51918c8 100644 --- a/docs/manual/mod/quickreference.html.zh-cn +++ b/docs/manual/mod/quickreference.html.zh-cn @@ -630,6 +630,22 @@ proxied ProxyFtpDirCharset character set ISO-8859-1 svdEDefine the character set for proxied FTP listings ProxyFtpEscapeWildcards [on|off]svdEWhether wildcards in requested filenames are escaped when sent to the FTP server ProxyFtpListOnWildcard [on|off]svdEWhether wildcards in requested filenames trigger a file listing +ProxyHTMLBufSize bytessvdBSets the buffer size increment for buffering inline scripts and +stylesheets. +ProxyHTMLCharsetOut Charset | *svdBSpecify a charset for mod_proxy_html output. +ProxyHTMLDocType HTML|XHTML [Legacy]
    OR +
    ProxyHTMLDocType fpi [SGML|XML]
    svdBSets an HTML or XHTML document type declaration. +ProxyHTMLEnable On|OffsvdBTurns the proxy_html filter on or off. +ProxyHTMLEvents attribute [attribute ...]svdBSpecify attributes to treat as scripting events. +ProxyHTMLExtended On|OffsvdBDetermines whether to fix links in inline scripts, stylesheets, +and scripting events. +ProxyHTMLFixups [lowercase] [dospath] [reset]svdBFixes for simple HTML errors. +ProxyHTMLInterp On|OffsvdBEnables per-request interpolation of +ProxyHTMLURLMap rules. +ProxyHTMLLinks element attribute [attribute2 ...]svdBSpecify HTML elements that have URL attributes to be rewritten. +ProxyHTMLLogVerbose On|OffsvdBEnables extra verbose logging for debug +ProxyHTMLStripComments On|OffsvdBDetermines whether to strip HTML comments. +ProxyHTMLURLMap from-pattern to-pattern [flags] [cond]svdBDefines a rule to rewrite HTML links ProxyIOBufferSize bytes 8192 svEDetermine size of internal data throughput buffer <ProxyMatch regex> ...</ProxyMatch>svEContainer for directives applied to regular-expression-matched proxied resources @@ -963,6 +979,10 @@ a given virtual host a given virtual host XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set +xml2EncAlias charset alias [alias ...]sBRecognise Aliases for encoding values +xml2EncDefault namesvdhBSets a default encoding to assume when absolutely no information +can be automatically detected +xml2StartParse element [element ...]svdhBAdvise the parser to skip leading junk.

    可用语言:  de  | diff --git a/docs/manual/mpm.html.fr b/docs/manual/mpm.html.fr index bded0c7e093..6b7f8190692 100644 --- a/docs/manual/mpm.html.fr +++ b/docs/manual/mpm.html.fr @@ -87,7 +87,7 @@ DSO (Dynamic Shared Object) autres modules Apache httpd. La principale différence réside dans le fait qu'un et un seul MPM à la fois doit être chargé lorsque le serveur s'exécute. La liste des - MPMs disponibles est fournie dans l'indexe des + MPMs disponibles est fournie dans l'index des modules.

    top
    diff --git a/docs/manual/rewrite/tech.html.fr b/docs/manual/rewrite/tech.html.fr index f5b4467f967..bd9d9720d5f 100644 --- a/docs/manual/rewrite/tech.html.fr +++ b/docs/manual/rewrite/tech.html.fr @@ -25,95 +25,99 @@

    Ce document passe en revue certains détails techniques à propos du module mod_rewrite et de la mise en correspondance des URLs

    -
    • Fonctionnement interne
    • -
    • Phases de l'API
    • +
      top
      -

      Fonctionnement interne

      - -

      Le fonctionnement interne de ce module est très complexe, mais - il est nécessaire de l'expliquer, même à l'utilisateur "standard", - afin d'éviter les erreurs courantes et de pouvoir exploiter toutes - ses fonctionnalités.

      -
      top
      -

      Phases de l'API

      -

      Il faut tout d'abord bien comprendre que le traitement d'une - requête HTTP par Apache s'effectue en plusieurs phases. L'API - d'Apache fournit un point d'accroche (hook) pour chacune de ces - phases. Mod_rewrite utilise deux de ces hooks : le hook de - conversion des URLs en noms de fichiers qui est utilisé quand la - requête HTTP a été lue mais avant le démarrage de tout processus - d'autorisation, et le hook "Fixup" qui est déclenché après les - phases d'autorisation et après la lecture des fichiers de - configuration niveau répertoire (.htaccess), mais - avant que le gestionnaire de contenu soit activé.

      - -

      Donc, lorsqu'une requête arrive et quand Apache a déterminé le - serveur correspondant (ou le serveur virtuel), le moteur de - réécriture commence le traitement de toutes les directives de - mod_rewrite de la configuration du serveur principal dans la phase - de conversion URL vers nom de fichier. Une fois ces étapes - franchies, lorsque les repertoires de données finaux ont été - trouvés, les directives de configuration de mod_rewrite au niveau - répertoire sont éxécutées dans la phase Fixup. Dans les deux cas, - mod_rewrite réécrit les URLs soit en nouvelles URLs, soit en noms - de fichiers, bien que la distinction entre les deux ne soit pas - évidente. Cette utilisation de l'API n'était pas sensée s'opérer - de cette manière lorsque l'API fut conçue, mais depuis Apache 1.x, - c'est le seul mode opératoire possible pour mod_rewrite. Afin de - rendre les choses plus claires, souvenez-vous de ces deux points :

      - -
        -
      1. Bien que mod_rewrite réécrive les URLs en URLs, les URLs en - noms de fichiers et même des noms de fichiers en d'autres noms - de fichiers, l'API ne propose actuellement qu'un hook URL vers - nom de fichier. Les deux hooks manquants seront ajoutés dans - Apache à partir de la version 2.0 afin de rendre le processus - plus clair. Mais ce point ne présente pas d'inconvénient pour - l'utilisateur, il s'agit simplement d'un fait que vous devez - garder à l'esprit : Apache en fait plus avec le hook URL vers - nom de fichier que l'API n'a la prétention d'en faire.
      2. - -
      3. - Paradoxalement, mod_rewrite permet la manipulation d'URLs dans - un contexte de répertoire, c'est à dire dans les - fichiers .htaccess, bien que ces derniers - soient traités bien longtemps après que les URLs n'aient été - traduites en noms de fichiers. Les choses doivent se dérouler - ainsi car les fichiers .htaccess résident dans le - système de fichiers, et le traitement a déjà atteint - cette étape. Autrement dit, en accord avec les phases de - l'API, à ce point du traitement, il est trop tard pour - effectuer des manipulations d'URLs. Pour résoudre ce problème - d'antériorité, mod_rewrite utilise une astuce : pour effectuer - une manipulation URL/nom de fichier dans un contexte de - répertoire, mod_rewrite réécrit tout d'abord le nom de fichier - en son URL d'origine (ce qui est normalement impossible, mais - voir ci-dessous l'astuce utilisée par la directive - RewriteBase pour y parvenir), puis - initialise une nouvelle sous-requête interne avec la nouvelle - URL ; ce qui a pour effet de redémarrer le processus des - phases de l'API. - -

        Encore une fois, mod_rewrite fait tout ce qui est en son - pouvoir pour rendre la complexité de cette étape complètement - transparente à l'utilisateur, mais vous devez garder ceci à - l'esprit : alors que les manipulations d'URLs dans le contexte - du serveur sont vraiment rapides et efficaces, les réécritures - dans un contexte de répertoire sont lentes et inefficaces à - cause du problème d'antériorité précité. Cependant, c'est la - seule manière dont mod_rewrite peut proposer des manipulations - d'URLs (limitées à une branche du système de fichiers) à - l'utilisateur standard.

        -
      4. -
      - -

      Ne perdez pas de vue ces deux points!

      +

      Le traitement des requêtes par le serveur HTTP Apache se + déroule en plusieurs phases. Au cours de chaque phase, un ou + plusieurs modules peuvent être appelés pour traiter la partie + concernée du cycle de vie de la requête. Les différentes phases + peuvent consister en traduction d'URL en nom de fichier, + authentification, autorisation, gestion de contenu ou journalisation (la + liste n'est pas exhaustive).

      + +

      mod_rewrite agit dans deux de ces phases (ou accroches - hooks - + comme on les nomme souvent) pour la réécriture des URLs.

      + +

      Tout d'abord, il utilise le hook traduction URL vers nom de + fichier qui intervient après la lecture de la requête HTTP, mais + avant le processus d'autorisation. Ensuite, il utilise le hook + Fixup, qui intervient après les phases d'autorisation, après la + lecture des fichiers de configuration de niveau répertoire (fichiers + .htaccess), mais avant l'appel du gestionnaire de + contenu.

      + +

      Ainsi, lorsqu'une requête arrive et une fois le serveur + correspondant ou le serveur virtuel déterminé, le moteur de + réécriture commence à traiter toute directive apparaissant dans la + configuration de niveau serveur (autrement dit dans le + fichier de configuration principal du serveur et les sections + <Virtualhost>). + Tout ce processus s'exécute au cours de la phase de traduction URL + vers nom de fichier.

      + +

      Quelques étapes plus loin, une fois les répertoires de données + finaux trouvés, les directives de configuration de niveau répertoire + (fichiers .htaccess et sections <Directory>) sont appliquées. Ce processus + s'exécute au cours de la phase Fixup.

      + +

      Dans tous ces cas, mod_rewrite réécrit le + REQUEST_URI soit vers une nouvelle URL, soit vers un + nom de fichier.

      + +

      Dans un contexte de niveau répertoire (autrement dit dans les + fichiers .htaccess et les sections + Directory), les règles de réécriture s'appliquent après + la traduction de l'URL en nom de fichier. C'est pourquoi mod_rewrite + retraduit temporairement le nom de fichier en URL en supprimant le + chemin de répertoire avant d'appliquer les règles (Reportez-vous à + la directive RewriteBase + pour voir comment vous pourrez par la suite personnaliser la manière + dont tout ceci est traité). Ensuite, une nouvelle sous-requête + interne est initiée avec la nouvelle URL, ce qui redémarre le + traitement des phases de l'API.

      + +

      En conséquence de cette manipulation de l'URL , vous devrez + pensez à confectionner différemment vos règles de réécriture dans un + contexte de niveau répertoire. En particulier, rappelez-vous que le + chemin de répertoire sera absent de l'URL que vos règles de + réécriture verront. Voici quelques exemples qui permettront de + clarifier les choses :

      + + + + + + + + + + + + + + + + + + + + + + + +
      Position de la règleRègle
      Section VirtualHostRewriteRule ^/images/(.+)\.jpg /images/$1.gif
      Fichier .htaccess à la racine des documentsRewriteRule ^images/(.+)\.jpg images/$1.gif
      Fichier .htaccess dans le répertoire imagesRewriteRule ^(.+)\.jpg $1.gif
      + +

      Pour une étude plus approfondie de la manière dont mod_rewrite + manipule les URLs dans les différents contextes, vous pouvez + consulter les entrées du + journal générées au cours du processus de réécriture.

      +
      top

      Traitement du jeu de règles

      diff --git a/docs/manual/sitemap.html.de b/docs/manual/sitemap.html.de index 784f817a678..e7953430e94 100644 --- a/docs/manual/sitemap.html.de +++ b/docs/manual/sitemap.html.de @@ -252,6 +252,7 @@ HPUX betreiben
    • Apache-Modul mod_proxy_fcgi
    • Apache-Modul mod_proxy_fdpass
    • Apache-Modul mod_proxy_ftp
    • +
    • Apache-Modul mod_proxy_html
    • Apache-Modul mod_proxy_http
    • Apache-Modul mod_proxy_scgi
    • Apache-Modul mod_ratelimit
    • @@ -280,6 +281,7 @@ HPUX betreiben
    • Apache-Modul mod_usertrack
    • Apache-Modul mod_version
    • Apache-Modul mod_vhost_alias
    • +
    • Apache-Modul mod_xml2enc
    top

    Dokumentation für Entwickler

    diff --git a/docs/manual/sitemap.html.en b/docs/manual/sitemap.html.en index 970e09dfdee..a56a7dfc562 100644 --- a/docs/manual/sitemap.html.en +++ b/docs/manual/sitemap.html.en @@ -247,6 +247,7 @@ Server on HPUX
  • Apache Module mod_proxy_fcgi
  • Apache Module mod_proxy_fdpass
  • Apache Module mod_proxy_ftp
  • +
  • Apache Module mod_proxy_html
  • Apache Module mod_proxy_http
  • Apache Module mod_proxy_scgi
  • Apache Module mod_ratelimit
  • @@ -275,6 +276,7 @@ Server on HPUX
  • Apache Module mod_usertrack
  • Apache Module mod_version
  • Apache Module mod_vhost_alias
  • +
  • Apache Module mod_xml2enc
  • top

    Developer Documentation

    diff --git a/docs/manual/sitemap.html.es b/docs/manual/sitemap.html.es index fa188c05e8c..275b04486bd 100644 --- a/docs/manual/sitemap.html.es +++ b/docs/manual/sitemap.html.es @@ -243,6 +243,7 @@ usados para describir las directivas de Apache
  • Módulo Apache mod_proxy_fcgi
  • Módulo Apache mod_proxy_fdpass
  • Módulo Apache mod_proxy_ftp
  • +
  • Módulo Apache mod_proxy_html
  • Módulo Apache mod_proxy_http
  • Módulo Apache mod_proxy_scgi
  • Módulo Apache mod_ratelimit
  • @@ -271,6 +272,7 @@ usados para describir las directivas de Apache
  • Módulo Apache mod_usertrack
  • Módulo Apache mod_version
  • Módulo Apache mod_vhost_alias
  • +
  • Módulo Apache mod_xml2enc
  • top

    Documentación para desarrolladores

    diff --git a/docs/manual/sitemap.html.fr b/docs/manual/sitemap.html.fr index ddbffd04709..c6b2474b14c 100644 --- a/docs/manual/sitemap.html.fr +++ b/docs/manual/sitemap.html.fr @@ -260,6 +260,7 @@ pour d
  • Module Apache mod_proxy_fcgi
  • Module Apache mod_proxy_fdpass
  • Module Apache mod_proxy_ftp
  • +
  • Module Apache mod_proxy_html
  • Module Apache mod_proxy_http
  • Module Apache mod_proxy_scgi
  • Module Apache mod_ratelimit
  • @@ -288,6 +289,7 @@ pour d
  • Module Apache mod_usertrack
  • Module Apache mod_version
  • Module Apache mod_vhost_alias
  • +
  • Module Apache mod_xml2enc
  • top
    top
    top

    °³¹ßÀÚ ¹®¼­

    diff --git a/docs/manual/sitemap.html.tr.utf8 b/docs/manual/sitemap.html.tr.utf8 index 4d77306a679..06f565547f8 100644 --- a/docs/manual/sitemap.html.tr.utf8 +++ b/docs/manual/sitemap.html.tr.utf8 @@ -242,6 +242,7 @@ Windows ile Apache Kullanımı
  • Apache Modülü mod_proxy_fcgi
  • Apache Modülü mod_proxy_fdpass
  • Apache Modülü mod_proxy_ftp
  • +
  • Apache Modülü mod_proxy_html
  • Apache Modülü mod_proxy_http
  • Apache Modülü mod_proxy_scgi
  • Apache Modülü mod_ratelimit
  • @@ -270,6 +271,7 @@ Windows ile Apache Kullanımı
  • Apache Modülü mod_usertrack
  • Apache Modülü mod_version
  • Apache Modülü mod_vhost_alias
  • +
  • Apache Modülü mod_xml2enc
  • top
    top

    开发者文档

    diff --git a/docs/manual/upgrading.html.fr b/docs/manual/upgrading.html.fr index e92762cece5..c767927c515 100644 --- a/docs/manual/upgrading.html.fr +++ b/docs/manual/upgrading.html.fr @@ -289,6 +289,14 @@ n s'il s'aperçoit que la quantité de données ajoutée par la compression est supérieure à la quantité de données à compresser. + +
  • Les pages d'erreur multilingues de la version 2.2.x ne + fonctionneront qu'après avoir été corrigées pour + respecter la nouvelle syntaxe de l'élément #if expr= + du module mod_include, ou si la directive + SSILegacyExprParser a + été activée pour le répertoire contenant les pages d'erreur. +
  • top