4.7.9.2 Wildcard Prefixes
A wildcard prefix indicates that the portion of the Path Component up to and including the first Path Component segment following the Prefix are included in the site collection name. For example, if a user makes a request for http://example.com/sites/sitename/web/list/document.htm, and if the web application corresponding to http://example.com contains a Wildcard Prefix named "sites", then "/sites/sitename" is the server-relative URL of the site collection.
Incoming URL |
Web Application Wildcard Prefixes |
Resulting Site Collection Server-Relative URL |
---|---|---|
http://example.com/a/b/c/d.htm |
"a", "a/b |
"/a/b/c" |
http://example.com/a/b.htm |
"a", "a/b" |
<No Match> |
http://example.com/a/b.htm |
"" |
"/a" |