From 6b59a2a80b382e485ebddae82d81d03143c2ef6a Mon Sep 17 00:00:00 2001
From: =?utf8?q?Igor=20Gali=C4=87?=
Date: Fri, 26 Mar 2010 12:56:36 +0000
Subject: [PATCH] Adding an explanation about how URLs are ultimately mapped.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@927824 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/sections.html.en | 24 ++++++++++++++++++++++++
docs/manual/sections.xml | 24 ++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/docs/manual/sections.html.en b/docs/manual/sections.html.en
index 4b9b2e94bf..b579f223fe 100644
--- a/docs/manual/sections.html.en
+++ b/docs/manual/sections.html.en
@@ -213,6 +213,30 @@ SetHandler server-status
+
+In order to have two overlapping URLs one has to consider the order in which
+certain sections or directives are evaluated. For
+<Location>
this would be:
+
+<Location /foo>
+</Location>
+<Location /foo/bar>
+</Location>
+
+<Alias>
es on the other hand,
+are mapped vice-versa:
+
+Alias /foo/bar /srv/www/uncommon/bar
+Alias /foo /srv/www/common/foo
+
+Same goes for the ProxyPass
+directives:
+
+ProxyPass /special-area http://special.example.com smax=5 max=10
+ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+
+
+
The <Directory>
,
diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml
index 2f6afa93df..3ef6a1c256 100644
--- a/docs/manual/sections.xml
+++ b/docs/manual/sections.xml
@@ -236,6 +236,30 @@ SetHandler server-status
+Overlapping Webspace
+In order to have two overlapping URLs one has to consider the order in which
+certain sections or directives are evaluated. For
+Location this would be:
+
+<Location /foo>
+</Location>
+<Location /foo/bar>
+</Location>
+
+Aliases on the other hand,
+are mapped vice-versa:
+
+Alias /foo/bar /srv/www/uncommon/bar
+Alias /foo /srv/www/common/foo
+
+The same is true for the ProxyPass
+directives:
+
+ProxyPass /special-area http://special.example.com smax=5 max=10
+ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+
+
+
Wildcards and Regular Expressions
The Directory,
--
2.50.1