Bu çeviri güncel olmayabilir. Son deÄiÅiklikler için İngilizce sürüm geçerlidir.
Bu çeviri güncel olmayabilir. Son deÄiÅiklikler için İngilizce sürüm geçerlidir.
Açıklama: | Belge aÄacının parçalarının dosya sisteminin parçalarıyla
eÅlenmesini saÄlar ve URL yönlendirmesi yapar. |
Durum: | Temel |
diff --git a/docs/manual/mod/mod_dbd.html.en b/docs/manual/mod/mod_dbd.html.en
index 6df83c0c94..b24d6257eb 100644
--- a/docs/manual/mod/mod_dbd.html.en
+++ b/docs/manual/mod/mod_dbd.html.en
@@ -49,6 +49,7 @@
+
+
+
To connect to your database, you'll need to specify
+ a driver, and connection parameters. These vary from
+ one database engine to another. For example, to connect
+ to mysql, do the following:
+
+
DBDriver mysql
+DBDParams host=localhost,dbname=pony,user=shetland,pass=appaloosa
+
+
+
You can then use this connection in a variety of other
+ modules, including mod_rewrite
,
+ mod_authn_dbd
, and mod_lua
.
+ Further usage examples appear in each of those modules'
+ documentation.
+
+
See DBDParams
for connection string
+ information for each of the supported database drivers.
+
+

+
mod_dbd
exports five functions for other modules
to use. The API is as follows:
diff --git a/docs/manual/mod/mod_dbd.xml b/docs/manual/mod/mod_dbd.xml
index 91feb3bac7..84b5a53873 100644
--- a/docs/manual/mod/mod_dbd.xml
+++ b/docs/manual/mod/mod_dbd.xml
@@ -55,6 +55,29 @@
supersedes the modules presented in that article.
+
Connecting
+
+ To connect to your database, you'll need to specify
+ a driver, and connection parameters. These vary from
+ one database engine to another. For example, to connect
+ to mysql, do the following:
+
+
+DBDriver mysql
+DBDParams host=localhost,dbname=pony,user=shetland,pass=appaloosa
+
+
+ You can then use this connection in a variety of other
+ modules, including mod_rewrite,
+ mod_authn_dbd, and mod_lua.
+ Further usage examples appear in each of those modules'
+ documentation.
+
+ See DBDParams for connection string
+ information for each of the supported database drivers.
+
+
+
Apache DBD API
mod_dbd exports five functions for other modules
to use. The API is as follows:
diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en
index 0ef1ba86b7..877fd65879 100644
--- a/docs/manual/mod/mod_dir.html.en
+++ b/docs/manual/mod/mod_dir.html.en
@@ -98,7 +98,7 @@ act as if "DirectoryCheckHandler ON" was specified.
other handler was configured for a URL. This allows directory indexes to
be served even when a SetHandler
directive is
specified for an entire directory, but it can also result in some conflicts
- with modules such as mod_rewrite
.
+ with modules such as mod_rewrite
.

diff --git a/docs/manual/mod/mod_http2.html.en b/docs/manual/mod/mod_http2.html.en
index aa08fb7984..0923ee33a4 100644
--- a/docs/manual/mod/mod_http2.html.en
+++ b/docs/manual/mod/mod_http2.html.en
@@ -241,10 +241,10 @@
This directive influences how file content is handled in
- responses. When off, which is the default, file handles are
- passed from the requestion processing down to the main
+ responses. When off
, which is the default, file handles
+ are passed from the requestion processing down to the main
connection, using the usual Apache setaside handling for
- manaaging the lifetime of the file.
+ managing the lifetime of the file.
- The original request, and the substitution, are underneath the
@@ -163,7 +163,7 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
Description: | Defines a condition under which rewriting will take place
|
Syntax: | RewriteCond
- TestString CondPattern |
+ TestString CondPattern [flags]
Context: | server config, virtual host, directory, .htaccess |
Override: | FileInfo |
Status: | Extension |
@@ -686,14 +686,14 @@ RewriteRule ^(.+) /other/archive/$1 [R]
RewriteRule "^/images" "-" [F]
+
- - You can also set special flags for
- CondPattern by appending
+
You can also set special flags for CondPattern by appending
[
flags]
as the third argument to the RewriteCond
directive, where flags is a comma-separated list of any of the
- following flags:
-
+ following flags:
+
- '
nocase|NC
'
(no case)
@@ -730,8 +730,6 @@ RewriteRule ...some special stuff for any of these hosts...
is well understood.
-
-
Example:
@@ -1037,35 +1035,40 @@ RewriteRule "^/$" "/homepage.std.html" [L]
Pattern is
a perl compatible regular
- expression. On the first RewriteRule, it is matched against
- the (%-decoded) URL-path
- of the request, or, in per-directory context (see below), the URL
- path relative to that per-directory context. Subsequent patterns
- are matched against the output of the last matching RewriteRule.
+ expression. What this pattern is compared against varies depending
+ on where the RewriteRule
directive is defined.
-
In VirtualHost
context,
- The Pattern will initially be matched against the part of the
- URL after the hostname and port, and before the query string (e.g. "/app1/index.html").
-
In Directory
and htaccess context,
- the Pattern will initially be matched against the
- filesystem path, after removing the prefix that led the server
- to the current RewriteRule
(e.g. "app1/index.html"
- or "index.html" depending on where the directives are defined).
+
+ In VirtualHost
context,
+ The Pattern will initially be matched against the part of the
+ URL after the hostname and port, and before the query string (e.g. "/app1/index.html").
+ This is the (%-decoded) URL-path.
+
+ In per-directory context (Directory
and .htaccess),
+ the Pattern is matched against only a partial path, for example a request
+ of "/app1/index.html" may result in comparison against "app1/index.html"
+ or "index.html" depending on where the RewriteRule
is
+ defined.
+
+ The directory path where the rule is defined is stripped from the currently mapped
+ filesystem path before comparison (up to and including a trailing slash).
+ The net result of this per-directory prefix stripping is that rules in
+ this context only match against the portion of the currently mapped filesystem path
+ "below" where the rule is defined.
+
+ Directives such as DocumentRoot
and Alias
, or even the
+ result of previous RewriteRule
substitutions, determine
+ the currently mapped filesystem path.
+
+
- If you wish to match against the hostname, port, or query string, use a
+
If you wish to match against the hostname, port, or query string, use a
RewriteCond
with the
%{HTTP_HOST}
, %{SERVER_PORT}
, or
- %{QUERY_STRING}
variables respectively.
-
- In any case, remember that regular expressions are substring
- matches. That is, you don't need the regex to describe the entire
- string, just the part that you wish to match. Thus, using a regex
- of .
is often sufficient rather than .*
,
- and the regex abc
is not the same as
- ^abc$
.
-
+ %{QUERY_STRING}
variables respectively.
+
Per-directory Rewrites
@@ -1080,13 +1083,7 @@ administrator has disabled override of
FollowSymLinks
for
a user's directory, then you cannot use the rewrite engine. This
restriction is required for security reasons.
-
- When using the rewrite engine in
.htaccess
files the
-per-directory prefix (that is, the URI path that lead to the directory
-containing this .htaccess
file)
-is automatically removed for the RewriteRule pattern matching
-and automatically added after any relative (not starting with a
-slash or protocol name) substitution encounters the end of a rule set.
-See the RewriteBase
+ - See the
RewriteBase
directive for more information regarding what prefix will be added back to
relative substitutions.
diff --git a/docs/manual/mod/mpm_common.html.en b/docs/manual/mod/mpm_common.html.en
index 6737fb91d8..9c7ecaed89 100644
--- a/docs/manual/mod/mpm_common.html.en
+++ b/docs/manual/mod/mpm_common.html.en
@@ -131,7 +131,7 @@ after a crash
There are already two modules, mod_whatkilledus
and
mod_backtrace
that make use of this hook. Please have a
- look at Jeff Trawick's EnableExceptionHook site for more information about these.
+ look at Jeff Trawick's
EnableExceptionHook site for more information about these.

diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de
index dbacd5dbe4..73b1176956 100644
--- a/docs/manual/mod/quickreference.html.de
+++ b/docs/manual/mod/quickreference.html.de
@@ -852,7 +852,7 @@ must succeed for the enclosing directive to succeed.
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en
index 5a0e295dcc..1f09a97c32 100644
--- a/docs/manual/mod/quickreference.html.en
+++ b/docs/manual/mod/quickreference.html.en
@@ -844,7 +844,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es
index 5180042522..effe977da6 100644
--- a/docs/manual/mod/quickreference.html.es
+++ b/docs/manual/mod/quickreference.html.es
@@ -851,7 +851,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.ja.utf8 b/docs/manual/mod/quickreference.html.ja.utf8
index 2afd56ebeb..686698ba97 100644
--- a/docs/manual/mod/quickreference.html.ja.utf8
+++ b/docs/manual/mod/quickreference.html.ja.utf8
@@ -788,7 +788,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.ko.euc-kr b/docs/manual/mod/quickreference.html.ko.euc-kr
index a041931861..d797115dc4 100644
--- a/docs/manual/mod/quickreference.html.ko.euc-kr
+++ b/docs/manual/mod/quickreference.html.ko.euc-kr
@@ -808,7 +808,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.tr.utf8 b/docs/manual/mod/quickreference.html.tr.utf8
index e9d8db3b14..b7e127b5a1 100644
--- a/docs/manual/mod/quickreference.html.tr.utf8
+++ b/docs/manual/mod/quickreference.html.tr.utf8
@@ -842,7 +842,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | skdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | skdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | skdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
diff --git a/docs/manual/mod/quickreference.html.zh-cn.utf8 b/docs/manual/mod/quickreference.html.zh-cn.utf8
index 11168ea7e2..9ffaaa75d0 100644
--- a/docs/manual/mod/quickreference.html.zh-cn.utf8
+++ b/docs/manual/mod/quickreference.html.zh-cn.utf8
@@ -839,7 +839,7 @@ must succeed for the enclosing directive to succeed. |
must succeed for the enclosing directive to not fail.
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
- TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
+ TestString CondPattern [flags] | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteMap MapName MapType:MapSource
|