From: Joshua Slive Files processed for server-side includes no longer accept
requests with PATH_INFO (trailing pathname information) by
- default. You can use the This directive changes the string that mod_include looks for
to mark the end of a include command.AcceptPathInfo
directive to
+ default. You can use the AcceptPathInfo
directive to
configure the server to accept requests with PATH_INFO.SSIEndTag Directive
Description: Changes the string that mod_include looks for to end an
-include command. Syntax: Default: SSIEndTag "-->"
Context: server config, virtual host Override: FileInfo Status: Base Module: mod_include Compatibility: Apache 1.2 and Available in version 2.0.30 and later.
+include command. Syntax: Default: SSIEndTag "-->"
Context: server config, virtual host Override: FileInfo Status: Base Module: mod_include Compatibility: Available in version 2.0.30 and later.
Please note that the caching function present in mod_proxy up to Apache v1.3.x has been removed from mod_proxy and will be incorporated into a new module, mod_cache.
+ ++ +
Do not enable proxying with
ProxyRequests
until you have +secured your server. Open proxy servers are +dangerous both to your network and to the Internet at large.
You can control who can access your proxy via the normal <Directory>
control block using the following example:
In a typical reverse proxy configuration, this option should be set to 'off'.
+ ++
Do not enable proxying with
ProxyRequests
until you have +secured your server. Open proxy servers are +dangerous both to your network and to the Internet at large.
|
This directive allows a user to specifiy a timeout on proxy requests. diff --git a/docs/manual/mod/mod_rewrite.html b/docs/manual/mod/mod_rewrite.html index 15acb55241..a03861ff1e 100644 --- a/docs/manual/mod/mod_rewrite.html +++ b/docs/manual/mod/mod_rewrite.html @@ -8,24 +8,21 @@ URLs on the fly
`` Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still - voodoo. '' + voodoo. ''@@ -163,19 +160,9 @@ URLs on the fly
+ + -- Brian Moore
+ bem@news.cmc.net -- -- Brian Moore
- bem@news.cmc.net -
- |
Figure 1: The - control flow through the rewriting ruleset | -
Figure 1:The control flow through the rewriting ruleset
As you can see, first the URL is matched against the Pattern of each rule. When it fails mod_rewrite @@ -203,11 +190,11 @@ URLs on the fly
As of Apache 1.3.20, special characters in
- TestString and Substitution strings can be
+ TestString and Substitution strings can be
escaped (that is, treated as normal characters without their
usual special meaning) by prefixing them with a slosh ('\')
character. In other words, you can include an actual
- dollar-sign character in a Substitution string by
+ dollar-sign character in a Substitution string by
using '\$
'; this keeps mod_rewrite from trying
to treat it as a backreference.
- |
Figure 2: The - back-reference flow through a rule | -
Figure 2: The back-reference flow through a rule.
We know this was a crash course on mod_rewrite's internal processing. But you will benefit from this knowledge when @@ -276,7 +254,7 @@ SCRIPT_URI=http://en1.engelschall.com/u/rse/ practical solutions for URL-based problems. There you can find real-life rulesets and additional information about mod_rewrite.
-
|
|
The RewriteBase
directive explicitly
sets the base URL for per-directory rewrites. As you will see
below, RewriteRule
@@ -285,7 +263,7 @@ SCRIPT_URI=http://en1.engelschall.com/u/rse/
i.e., the local directory prefix is stripped at this
stage of processing and your rewriting rules act only on the
remainder. At the end it is automatically added back to the
- path.
RewriteBase
physical-directory-path
When a substitution occurs for a new URL, this module has to re-inject the URL into the server processing. To be able @@ -332,7 +310,7 @@ RewriteRule ^oldstuff\.html$ newstuff.html
The following list gives detailed information about the internal processing steps:
-Request: +Request: /xyz/oldstuff.html Internal Processing: @@ -343,9 +321,8 @@ Internal Processing: Result: /abc/def/newstuff.html --
This seems very complicated but is
+ This seems very complicated but is
the correct Apache internal processing, because the
per-directory rewriting comes too late in the
process. So, when it occurs the (rewritten) request
@@ -355,7 +332,7 @@ Result:
internally to the Apache server and the same
procedure is used by many other operations inside
Apache. So, you can be sure the design and
- implementation is correct.
|