Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (14 sloc) 0.607 kB
dc71a4d @haiping documenting how URLs are resolved
haiping authored
1 <h2>Server Rewrite Rules</h2>
2
3 Here's how server processes a URL.
4
63f1df4 @haiping doc on SSL
haiping authored
5 1. Virtual Host
6
7 Determine which virtual host the URL is on. This is done by matching virtual
dc71a4d @haiping documenting how URLs are resolved
haiping authored
8 host's "Prefix" or "Pattern" with this URL's domain name.
9
63f1df4 @haiping doc on SSL
haiping authored
10 2. Path Translation
11
12 Prepend with virtual host's PathTranslation.
dc71a4d @haiping documenting how URLs are resolved
haiping authored
13
63f1df4 @haiping doc on SSL
haiping authored
14 3. Physical Location
15
16 If the URL/file exists physically, that will be the final resolution. No
dc71a4d @haiping documenting how URLs are resolved
haiping authored
17 more processing will happen.
18
63f1df4 @haiping doc on SSL
haiping authored
19 4. Rewrite Rules
20
21 Otherwise, each rewrite rule will be checked sequentially in the order of
dc71a4d @haiping documenting how URLs are resolved
haiping authored
22 how they appear in configuration file. Once matched, the URL will be re-written
23 according to the rule.
Something went wrong with that request. Please try again.