diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:08 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:08 +0100 |
commit | 80ba9f34b69a273d82f2f46d7fe231e30e127028 (patch) | |
tree | 7b43a6f17b53cb4ad4f9aea2503ef590b30bff50 /docs/manual/platform/windows.html.en | |
parent | 80db94fff6a9620fb469ee911347ed973e3f7735 (diff) | |
download | apache2-80ba9f34b69a273d82f2f46d7fe231e30e127028.tar.gz |
Upstream tarball 2.2.4upstream/2.2.4
Diffstat (limited to 'docs/manual/platform/windows.html.en')
-rw-r--r-- | docs/manual/platform/windows.html.en | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/manual/platform/windows.html.en b/docs/manual/platform/windows.html.en index 11ae4b46..cb0522e6 100644 --- a/docs/manual/platform/windows.html.en +++ b/docs/manual/platform/windows.html.en @@ -228,6 +228,25 @@ not backslashes. Drive letters can be used; if omitted, the drive with the Apache executable will be assumed.</p></li> + <li><p>While filenames are generally case-insensitive on + Windows, URLs are still treated internally as case-sensitive + before they are mapped to the filesystem. For example, the + <code class="directive"><a href="../mod/core.html#location"><Location></a></code>, + <code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code>, and <code class="directive"><a href="../mod/mod_proxy.html#proxypass">ProxyPass</a></code> directives all use + case-sensitive arguments. For this reason, it is particularly + important to use the <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> directive when attempting + to limit access to content in the filesystem, since this + directive applies to any content in a directory, regardless of + how it is accessed. If you wish to assure that only lowercase + is used in URLs, you can use something like:</p> + + <div class="example"><p><code> + RewriteEngine On<br /> + RewriteMap lowercase int:tolower<br /> + RewriteCond %{REQUEST_URI} [A-Z]<br /> + RewriteRule (.*) ${lowercase:$1} [R,L] + </code></p></div></li> + <li><p>Apache for Windows contains the ability to load modules at runtime, without recompiling the server. If Apache is compiled normally, it will install a number of optional modules in the |