blob: bf7297fd5ef5c39dc043f90bf1b4be9df08d1ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<?xml version="1.0" encoding="utf-8" ?>
<!--Routes container element holds a collection of route elements-->
<routes>
<!--
Example route configuration for a single page app
where the tree looks like this:
/ (index.html)
/assets (assets directory) (css and js files)
Wildcard hosts match all hosts that do not have rules with more specific hosts
-->
<!--
Allow assets directory to pass through for all requests, using the Continue routine (1)
Because this route has a more specific path than the catch all route
it will be processed first
-->
<route routine="1" privilege="0">
<!--Wildcard host-->
<hostname>*</hostname>
<!--All paths that start with /assets/ will be matched-->
<path>/assets/*</path>
</route>
<!--Overwrite all other requests to the index file (catch all) using the ServeOther routine (4)-->
<route routine="4" privilege="0">
<!--Wildcard hostname-->
<hostname>*</hostname>
<!--Declares that all files after / will be matched by this rule-->
<path>/*</path>
<!--Return to the root path, lets the file processor handle extension searching-->
<alternate>/</alternate>
</route>
<!--All routes that do not match will be allowed, this is only / since it does not have a matching rule-->
</routes>
|