|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 # |
|
7 # This file defines the locations at which this HTTP server may be accessed. |
|
8 # It is referred to by the following page, so if this file moves, that page must |
|
9 # be modified accordingly: |
|
10 # |
|
11 # http://developer.mozilla.org/en/docs/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F |
|
12 # |
|
13 # Empty lines and lines which begin with "#" are ignored and may be used for |
|
14 # storing comments. All other lines consist of an origin followed by whitespace |
|
15 # and a comma-separated list of options (if indeed any options are needed). |
|
16 # |
|
17 # The format of an origin is, referring to RFC 2396, a scheme (either "http" or |
|
18 # "https"), followed by "://", followed by a host, followed by ":", followed by |
|
19 # a port number. The colon and port number must be present even if the port |
|
20 # number is the default for the protocol. |
|
21 # |
|
22 # Unrecognized options are ignored. Recognized options are "primary" and |
|
23 # "privileged", "nocert", "cert=some_cert_nickname", "redir=hostname". |
|
24 # |
|
25 # "primary" denotes a location which is the canonical location of |
|
26 # the server; this location is the one assumed for requests which don't |
|
27 # otherwise identify a particular origin (e.g. HTTP/1.0 requests). |
|
28 # |
|
29 # "privileged" denotes a location which should have the ability to request |
|
30 # elevated privileges; the default is no privileges. |
|
31 # |
|
32 # "nocert" makes sense only for https:// hosts and means there is not |
|
33 # any certificate automatically generated for this host. |
|
34 # |
|
35 # "cert=nickname" tells the pgo server to use a particular certificate |
|
36 # for this host. The certificate is referenced by its nickname that must |
|
37 # not contain any spaces. The certificate key files (PKCS12 modules) |
|
38 # for custom certification are loaded from build/pgo/certs |
|
39 # directory. When new certificate is added to this dir pgo/ssltunnel |
|
40 # must be built then. This is only necessary for cases where we really do |
|
41 # want specific certs. |
|
42 # |
|
43 # "redir=hostname" tells the pgo server is only used for https:// |
|
44 # hosts while processing the CONNECT tunnel request. It responds |
|
45 # to the CONNECT with a 302 and redirection to the hostname instead |
|
46 # of connecting to the real back end and replying with a 200. This |
|
47 # mode exists primarily to ensure we don't allow a proxy to do that. |
|
48 # |
|
49 |
|
50 # |
|
51 # This is the primary location from which tests run. |
|
52 # |
|
53 http://mochi.test:8888 primary,privileged |
|
54 |
|
55 # |
|
56 # These are a common set of prefixes scattered across one TLD with two ports and |
|
57 # another TLD on a single port. |
|
58 # |
|
59 http://127.0.0.1:80 privileged |
|
60 http://127.0.0.1:8888 privileged |
|
61 http://test:80 privileged |
|
62 http://mochi.test:8888 privileged |
|
63 http://example.org:80 privileged |
|
64 http://test1.example.org:80 privileged |
|
65 http://test2.example.org:80 privileged |
|
66 http://sub1.test1.example.org:80 privileged |
|
67 http://sub1.test2.example.org:80 privileged |
|
68 http://sub2.test1.example.org:80 privileged |
|
69 http://sub2.test2.example.org:80 privileged |
|
70 http://example.org:8000 privileged |
|
71 http://test1.example.org:8000 privileged |
|
72 http://test2.example.org:8000 privileged |
|
73 http://sub1.test1.example.org:8000 privileged |
|
74 http://sub1.test2.example.org:8000 privileged |
|
75 http://sub2.test1.example.org:8000 privileged |
|
76 http://sub2.test2.example.org:8000 privileged |
|
77 http://example.com:80 privileged |
|
78 http://www.example.com:80 privileged |
|
79 http://test1.example.com:80 privileged |
|
80 http://test2.example.com:80 privileged |
|
81 http://sub1.test1.example.com:80 privileged |
|
82 http://sub1.test2.example.com:80 privileged |
|
83 http://sub2.test1.example.com:80 privileged |
|
84 http://sub2.test2.example.com:80 privileged |
|
85 http://noxul.example.com:80 privileged,noxul |
|
86 http://example.net:80 privileged |
|
87 |
|
88 https://example.com:443 privileged |
|
89 https://test1.example.com:443 privileged |
|
90 https://test2.example.com:443 privileged |
|
91 https://sub1.test1.example.com:443 privileged |
|
92 https://sub1.test2.example.com:443 privileged |
|
93 https://sub2.test1.example.com:443 privileged |
|
94 https://sub2.test2.example.com:443 privileged |
|
95 https://nocert.example.com:443 privileged,nocert |
|
96 https://self-signed.example.com:443 privileged,cert=selfsigned |
|
97 https://untrusted.example.com:443 privileged,cert=untrusted |
|
98 https://expired.example.com:443 privileged,cert=expired |
|
99 https://requestclientcert.example.com:443 privileged,clientauth=request |
|
100 https://requireclientcert.example.com:443 privileged,clientauth=require |
|
101 https://mismatch.expired.example.com:443 privileged,cert=expired |
|
102 https://mismatch.untrusted.example.com:443 privileged,cert=untrusted |
|
103 https://untrusted-expired.example.com:443 privileged,cert=untrustedandexpired |
|
104 https://mismatch.untrusted-expired.example.com:443 privileged,cert=untrustedandexpired |
|
105 |
|
106 # This is here so that we don't load the default live bookmark over |
|
107 # the network in every test suite. |
|
108 http://fxfeeds.mozilla.com:80 |
|
109 |
|
110 # Prevent safebrowsing tests from hitting the network for its-a-trap.html and |
|
111 # its-an-attack.html. |
|
112 http://www.itisatrap.org:80 |
|
113 |
|
114 # |
|
115 # These are subdomains of <ält.example.org>. |
|
116 # |
|
117 http://sub1.xn--lt-uia.example.org:8000 privileged |
|
118 http://sub2.xn--lt-uia.example.org:80 privileged |
|
119 http://xn--exmple-cua.test:80 privileged |
|
120 http://sub1.xn--exmple-cua.test:80 privileged |
|
121 http://xn--exaple-kqf.test:80 privileged |
|
122 http://sub1.xn--exaple-kqf.test:80 privileged |
|
123 |
|
124 https://xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged |
|
125 https://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged |
|
126 |
|
127 # |
|
128 # These are subdomains of <παράδειγμα.δοκιμή>, the Greek IDN for example.test. |
|
129 # |
|
130 http://xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged |
|
131 http://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged |
|
132 |
|
133 # Bug 413909 test host |
|
134 https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged,cert=bug413909cert |
|
135 |
|
136 # |
|
137 # These hosts are used in tests which exercise privilege-granting functionality; |
|
138 # we could reuse some of the names above, but specific names make it easier to |
|
139 # distinguish one from the other in tests (as well as what functionality is |
|
140 # being tested). |
|
141 # |
|
142 http://sectest1.example.org:80 privileged |
|
143 http://sub.sectest2.example.org:80 privileged |
|
144 http://sectest2.example.org:80 |
|
145 http://sub.sectest1.example.org:80 |
|
146 |
|
147 https://sectest1.example.org:443 privileged |
|
148 https://sub.sectest2.example.org:443 privileged |
|
149 https://sectest2.example.org:443 |
|
150 https://sub.sectest1.example.org:443 |
|
151 |
|
152 # |
|
153 # Used while testing the url-classifier |
|
154 # |
|
155 http://malware.example.com:80 |
|
156 |
|
157 # Bug 483437, 484111 |
|
158 https://www.bank1.com:443 privileged,cert=escapeattack1 |
|
159 https://www.bank2.com:443 privileged,cert=escapeattack2 |
|
160 |
|
161 # |
|
162 # CONNECT for redirproxy results in a 302 redirect to |
|
163 # test1.example.com |
|
164 # |
|
165 https://redirproxy.example.com:443 privileged,redir=test1.example.com |
|
166 |
|
167 # Host used for IndexedDB Quota testing |
|
168 http://bug704464-1.example.com:80 privileged |
|
169 http://bug704464-2.example.com:80 privileged |
|
170 http://bug704464-3.example.com:80 privileged |
|
171 http://bug702292.example.com:80 privileged |
|
172 |
|
173 # W3C hosts. |
|
174 # See http://www.w3.org/wiki/Testing/Requirements#The_Web_test_server_must_be_available_through_different_domain_names |
|
175 http://w3c-test.org:80 |
|
176 http://w3c-test.org:81 |
|
177 http://w3c-test.org:82 |
|
178 http://w3c-test.org:83 |
|
179 http://www.w3c-test.org:80 |
|
180 http://www.w3c-test.org:81 |
|
181 http://www.w3c-test.org:82 |
|
182 http://www.w3c-test.org:83 |
|
183 http://www1.w3c-test.org:80 |
|
184 http://www1.w3c-test.org:81 |
|
185 http://www1.w3c-test.org:82 |
|
186 http://www1.w3c-test.org:83 |
|
187 http://www2.w3c-test.org:80 |
|
188 http://www2.w3c-test.org:81 |
|
189 http://www2.w3c-test.org:82 |
|
190 http://www2.w3c-test.org:83 |
|
191 # http://天気の良い日.w3c-test.org |
|
192 http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:80 |
|
193 http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:81 |
|
194 http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:82 |
|
195 http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:83 |
|
196 # http://élève.w3c-test.org |
|
197 http://xn--lve-6lad.w3c-test.org:80 |
|
198 http://xn--lve-6lad.w3c-test.org:81 |
|
199 http://xn--lve-6lad.w3c-test.org:82 |
|
200 http://xn--lve-6lad.w3c-test.org:83 |
|
201 # HTTPS versions of the above |
|
202 https://w3c-test.org:443 |
|
203 https://www.w3c-test.org:443 |
|
204 https://www1.w3c-test.org:443 |
|
205 https://www2.w3c-test.org:443 |
|
206 https://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:443 |
|
207 https://xn--lve-6lad.w3c-test.org:443 |
|
208 http://test.w3.org:80 |
|
209 |
|
210 # Hosts for testing TLD-based fallback encoding |
|
211 http://example.tw:80 privileged |
|
212 http://example.cn:80 privileged |
|
213 http://example.co.jp:80 privileged |
|
214 http://example.fi:80 privileged |
|
215 |
|
216 # Hosts for testing marketplace apps installations |
|
217 https://marketplace.firefox.com:443 privileged |