The following directive must be given for the directories
containing the shtml files (typically in a
<Directory> section, but this directive is
- also valid .htaccess files if AllowOverride
+ also valid in .htaccess files if AllowOverride
Options is set):
@@ -413,11 +413,11 @@
<!--#if expr="\"$DOCUMENT_URI\" = \"/foo/file.html\"" -->
- in foo
+ in foo
<!--#elif expr="\"$DOCUMENT_URI\" = \"/bar/file.html\"" -->
- in bar
+ in bar
<!--#else -->
- in neither
+ in neither
<!--#endif -->
The SSIErrorMsg directive changes the error message displayed
when mod_include encounters an error. For production servers you
may consider changing the default error message to
@@ -540,31 +539,31 @@ include command.
This directive changes the format in which date strings are displayed
when echoing DATE environment variables. The formatstring
is as in strftime(3) from the C standard library.
This directive has the same effect as the <!--#config
timefmt=formatstring --> element.
The XBitHack directives controls the parsing of ordinary
html documents. This directive only affects files associated
with the MIME type text/html. XBitHack can take on
diff --git a/docs/manual/mod/mod_setenvif.html.en b/docs/manual/mod/mod_setenvif.html.en
index 2759b874cc..4337889606 100644
--- a/docs/manual/mod/mod_setenvif.html.en
+++ b/docs/manual/mod/mod_setenvif.html.en
@@ -3,7 +3,7 @@
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
mod_setenvif- Apache HTTP Server
Apache HTTP Server Version 2.0
Apache Module mod_setenvif
Description:
Allows the setting of environment variables based
-on characteristics of the request
The mod_setenvif module allows you to set
environment variables according to whether different aspects of
@@ -21,57 +21,27 @@ on characteristics of the request
Apache 1.2 and
- above (in Apache 1.2 this directive was found in the
- now-obsolete mod_browser module)
-
The BrowserMatch directive defines
- environment variables based on the User-Agent HTTP
- request header field. The first argument should be a POSIX.2
- extended regular expression (similar to an
- egrep-style regex). The rest of the arguments give
- the names of variables to set, and optionally values to which they
- should be set. These take the form of
-
-
-
varname, or
-
-
!varname, or
-
-
varname=value
-
-
-
In the first form, the value will be set to "1". The second
- will remove the given variable if already defined, and the
- third will set the variable to the value given by
- value. If a User-Agent
- string matches more than one entry, they will be merged.
- Entries are processed in the order in which they appear, and
- later entries can override earlier ones.
The BrowserMatch is a special cases of the
+ SetEnvIf directive that
+ sets environment variables conditional on the
+ User-Agent HTTP request header. The following two
+ lines have the same effect:
Note that the regular expression string is
- case-sensitive. For case-INsensitive matching,
- see the BrowserMatchNoCase
- directive.
-
-
The BrowserMatch and
- BrowserMatchNoCase directives are special cases of
- the SetEnvIf and SetEnvIfNoCase
- directives. The following two lines have the same effect:
Apache 1.3 and
- above; the Request_Protocol keyword and environment-variable
- matching are only available with 1.3.7 and later
-
The SetEnvIf directive defines environment
- variables based on attributes of the request. These attributes
- can be the values of various HTTP request header fields (see RFC2616
- for more information about these), or of other aspects of the
- request, including the following:
The SetEnvIf directive defines
+ environment variables based on attributes of the request. The
+ attribute specified in the first argument can be one of three
+ things:
+
+
+
An HTTP request header field (see RFC2616
+ for more information about these); for example: Host,
+ User-Agent, Referer, and
+ Accept-Language. A regular expression may be
+ used to specify a set of request headers.
+
+
One of the following aspects of the request:
Remote_Host - the hostname (if available) of
the client making the request
The rest of the arguments give the names of variables to set, and
+optionally values to which they should be set. These take the form
+of
-
Some of the more commonly used request header field names
- include Host, User-Agent, and
- Referer.
-
-
If the attribute name doesn't match any of the
- special keywords, nor any of the request's header field names,
- it is tested as the name of an environment variable in the list
- of those associated with the request. This allows
- SetEnvIf directives to test against the result of
- prior matches.
-
-
- Only those environment variables defined by earlier
- SetEnvIf[NoCase] directives are available for
- testing in this manner. 'Earlier' means that they were
- defined at a broader scope (such as server-wide) or
- previously in the current directive's scope.
-
-
-
attribute may be a regular expression when used to
- match a request header. If attribute is a regular
- expression and it doesn't match any of the request's header
- names, then attribute is not tested against the
- request's environment variable list.
+
+
varname, or
+
+
!varname, or
+
+
varname=value
+
+
+
In the first form, the value will be set to "1". The second
+ will remove the given variable if already defined, and the
+ third will set the variable to the literal value given by
+ value.
The SetEnvIfNoCase is semantically identical to
the SetEnvIf directive,
diff --git a/docs/manual/mod/mod_so.html.en b/docs/manual/mod/mod_so.html.en
index 92b67c5aa9..aa0dbba650 100644
--- a/docs/manual/mod/mod_so.html.en
+++ b/docs/manual/mod/mod_so.html.en
@@ -2,10 +2,8 @@
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- -->
mod_so- Apache HTTP Server
Apache HTTP Server Version 2.0
Apache Module mod_so
Description:
- This module provides for loading of executable code and
- modules into the server at start-up or restart time.
-
On selected operating systems this module can be used to
load modules into Apache at runtime via the Dynamic Shared Object (DSO) mechanism,
@@ -14,14 +12,8 @@
On Unix, the loaded code typically comes from shared object
files (usually with .so extension), on Windows
this may either the .so or .dll
- extension. This module is only available in Apache 1.3 and
- up.
-
-
In previous releases, the functionality of this module was
- provided for Unix by mod_dld, and for Windows by mod_dll. On
- Windows, mod_dll was used in beta release 1.3b1 through 1.3b5.
- mod_so combines these two modules into a single module for all
- operating systems.
+ extension.
+
Warning
Apache 1.3 modules cannot be directly used
with Apache 2.0 - the module must be modified to dynamically
@@ -33,6 +25,7 @@
The module name format changed for Windows
with Apache 1.3.15 and 2.0 - the modules are now named as
mod_foo.so
+
While mod_so still loads modules with
ApacheModuleFoo.dll names, the new naming convention is
preferred; if you are converting your loadable module for 2.0,
@@ -96,7 +89,7 @@
root, and use the LoadModule
directive to load it.
The LoadModule directive links in the object file or library
filename and adds the module structure named
module to the list of active modules. Module
diff --git a/docs/manual/mod/mod_suexec.html.en b/docs/manual/mod/mod_suexec.html.en
index 53e284952d..32c2519c93 100644
--- a/docs/manual/mod/mod_suexec.html.en
+++ b/docs/manual/mod/mod_suexec.html.en
@@ -4,13 +4,13 @@
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
mod_suexec- Apache HTTP Server
Apache HTTP Server Version 2.0
Apache Module mod_suexec
Description:
Allows CGI scripts to run as a specified user
and Group
SuexecUserGroup is only available in 2.0 and
later.
-
The SuexecUserGroup directive allows you to
- specify a user and group for CGI programs to run as. Non-CGI
- requests are still processes with the user specified in the
- User directive. This directive replaces using the User and
- Group directives inside of VirtualHosts.
+
The SuexecUserGroup directive allows you
+ to specify a user and group for CGI programs to run as. Non-CGI
+ requests are still processes with the user specified in the User
+ directive. This directive replaces the Apache 1.3 configuration of
+ using the User and Group directives inside of VirtualHosts.