summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2003-05-21 00:54:13 +0200
committerAndré Malo <nd@apache.org>2003-05-21 00:54:13 +0200
commit17b8510654587734c86174c7b929bede9f4197b7 (patch)
tree3061fa5d6915adc68f427f2b3401344393266608 /docs
parentlist all available error languages (diff)
downloadapache2-17b8510654587734c86174c7b929bede9f4197b7.tar.xz
apache2-17b8510654587734c86174c7b929bede9f4197b7.zip
no objections so far.
add initial documentation of AllowEncodedSlashes, so that it will hopefully go into the next release. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99962 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/mod/core.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 85436b4adb..da93be9124 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -217,6 +217,36 @@ response without an explicit character set</description>
</directivesynopsis>
<directivesynopsis>
+<name>AllowEncodedSlashes</name>
+<description>Determine whether encoded path separators in URLs are allowed to
+be passed through</description>
+<syntax>AllowEncodedSlashes On|Off</syntax>
+<default>AllowEncodedSlashes Off</default>
+<contextlist><context>server config</context><context>virtual host</context>
+</contextlist>
+<compatibility>Available in Apache 2.0.46 and later</compatibility>
+
+<usage>
+ <p>The <directive>AllowEncodedSlashes</directive> directive allows URLs
+ which contain encoded path separators (<code>%2F</code> for <code>/</code>
+ and additionally <code>%5C</code> for <code>\</code> on according systems)
+ to be used. Normally such URLs are refused with a 404 (Not found) error.</p>
+
+ <p>Turning <directive>AllowEncodedSlashes</directive> <code>On</code> is
+ mostly useful when used in conjunction with <code>PATH_INFO</code>.</p>
+
+ <note><title>Note</title>
+ <p>Allowing encoded slashes does <em>not</em> imply <em>decoding</em>.
+ Occurences of <code>%2F</code> or <code>%5C</code> (<em>only</em> on
+ according systems) will be left as such in the otherwise decoded URL
+ string.</p>
+ </note>
+</usage>
+<seealso><directive module="core">AcceptPathInfo</directive></seealso>
+</directivesynopsis>
+
+
+<directivesynopsis>
<name>AllowOverride</name>
<description>Types of directives that are allowed in
<code>.htaccess</code> files</description>