Drop unused tc_dump_helpers_addrs.txt file
[hiphop-php.git] / hphp / doc / server.rewrite_rules
blob40034f8b81a03fb5ae75703ca3ad09c38aeb4a63
1 <h2>Server Rewrite Rules</h2>
3 Here's how server processes a URL.
5 1. Virtual Host
7 Determine which virtual host the URL is on. This is done by matching virtual
8 host's "Prefix" or "Pattern" with this URL's domain name.
10 2. Path Translation
12 Prepend with virtual host's PathTranslation.
14 3. Physical Location
16 If the URL/file exists physically, that will be the final resolution. No
17 more processing will happen.
19 4. Rewrite Rules
21 Otherwise, each rewrite rule will be checked sequentially in the order of
22 how they appear in configuration file. Once matched, the URL will be re-written
23 according to the rule.