-
Notifications
You must be signed in to change notification settings - Fork 159
/
.htaccess
482 lines (411 loc) · 36 KB
/
.htaccess
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
RewriteEngine On
########### GENERAL ###########
RewriteRule ^latest/([^/]+)/([^/]+)(/?)$ latest.php?limit=$1&sort=$2 [L,NC]
RewriteRule ^latest/([^/]+)(/?)$ latest.php?limit=$1 [L,NC]
RewriteRule ^latest(/?)$ latest.php [L,NC]
RewriteRule ^currently/([^/]+)/([^/]+)(/?)$ currently.php?limit=$1&sort=$2 [L,NC]
RewriteRule ^currently/([^/]+)(/?)$ currently.php?limit=$1 [L,NC]
RewriteRule ^currently(/?)$ currently.php [L,NC]
RewriteRule ^acars-latest/([^/]+)(/?)$ acars-latest.php?limit=$1 [L,NC]
RewriteRule ^acars-archive/([^/]+)(/?)$ acars-archive.php?limit=$1 [L,NC]
RewriteRule ^acars-latest(/?)$ acars-latest.php [L,NC]
RewriteRule ^acars-archive(/?)$ acars-archive.php [L,NC]
RewriteRule ^newest/([^/]+)/([^/]+)/([^/]+)(/?)$ newest.php?category=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^newest/([^/]+)/([^/]+)(/?)$ newest.php?category=$1&limit=$2 [L,NC]
RewriteRule ^newest/([^/]+)(/?)$ newest.php?category=$1 [L,NC]
RewriteRule ^newest(/?)$ newest.php [L,NC]
RewriteRule ^highlights/table/([^/]+)/([^/]+)(/?)$ highlights-table.php?limit=$1&sort=$2 [L,NC]
RewriteRule ^highlights/table/([^/]+)(/?)$ highlights-table.php?limit=$1 [L,NC]
RewriteRule ^highlights/table(/?)$ highlights-table.php [L,NC]
RewriteRule ^highlights/([^/]+)(/?)$ highlights-display.php?limit=$1 [L,NC]
RewriteRule ^highlights(/?)$ highlights-display.php [L,NC]
RewriteRule ^about/tv(/?)$ about-tv.php [L,NC]
RewriteRule ^about/map(/?)$ about-map.php [L,NC]
RewriteRule ^about/export(/?)$ about-export.php [L,NC]
RewriteRule ^about(/?)$ about.php [L,NC]
RewriteRule ^contribute(/?)$ contribute.php [L,NC]
RewriteRule ^sitemap/([^/]+)(/?)$ sitemap.php?type=$1 [L,NC]
RewriteRule ^sitemap(/?)$ sitemap.php [L,NC]
RewriteRule ^tv/([^/]+)(/?)$ tv.php?q=$1 [L,NC]
RewriteRule ^tv(/?)$ tv.php [L,NC]
RewriteRule ^redirect/([^/]+)(/?)$ redirect.php?flightaware_id=$1 [L,NC]
#---------- MARINE ---------
RewriteRule ^marine/latest/([^/]+)/([^/]+)(/?)$ latest.php?marine&limit=$1&sort=$2 [L,NC]
RewriteRule ^marine/latest/([^/]+)(/?)$ latest.php?marine&limit=$1 [L,NC]
RewriteRule ^marine/latest(/?)$ latest.php?marine [L,NC]
RewriteRule ^marine/currently/([^/]+)/([^/]+)(/?)$ currently.php?marine&limit=$1&sort=$2 [L,NC]
RewriteRule ^marine/currently/([^/]+)(/?)$ currently.php?marine&limit=$1 [L,NC]
RewriteRule ^marine/currently(/?)$ currently.php?marine [L,NC]
#---------- TRACKER ---------
RewriteRule ^tracker/latest/([^/]+)/([^/]+)(/?)$ latest.php?tracker&limit=$1&sort=$2 [L,NC]
RewriteRule ^tracker/latest/([^/]+)(/?)$ latest.php?tracker&limit=$1 [L,NC]
RewriteRule ^tracker/latest(/?)$ latest.php?tracker [L,NC]
RewriteRule ^tracker/currently/([^/]+)/([^/]+)(/?)$ currently.php?tracker&limit=$1&sort=$2 [L,NC]
RewriteRule ^tracker/currently/([^/]+)(/?)$ currently.php?tracker&limit=$1 [L,NC]
RewriteRule ^tracker/currently(/?)$ currently.php?tracker [L,NC]
########### LIVE ###########
RewriteRule ^live/geojson(/?)$ live-geojson.php [L,NC]
RewriteRule ^polar/geojson(/?)$ polar-geojson.php [L,NC]
RewriteRule ^atc/geojson(/?)$ atc-geojson.php [L,NC]
########### SEARCH ###########
RewriteRule ^search/csv(/?)$ search-csv.php [L,NC]
RewriteRule ^search/json(/?)$ search-json.php [L,NC]
RewriteRule ^search/xml(/?)$ search-xml.php [L,NC]
RewriteRule ^search/rss(/?)$ search-rss.php [L,NC]
RewriteRule ^search/kml(/?)$ search-kml.php [L,NC]
RewriteRule ^search/geojson(/?)$ search-geojson.php [L,NC]
RewriteRule ^search/yaml(/?)$ search-yaml.php [L,NC]
RewriteRule ^search/php(/?)$ search-php.php [L,NC]
RewriteRule ^search/wkt(/?)$ search-wkt.php [L,NC]
RewriteRule ^search/gpx(/?)$ search-gpx.php [L,NC]
RewriteRule ^search/georss(/?)$ search-georss.php [L,NC]
RewriteRule ^search(/?)$ search.php [L,NC]
#---------- TRACKER ---------
RewriteRule ^tracker/search(/?)$ search.php?tracker [L,NC]
#---------- MARINE ---------
RewriteRule ^marine/search(/?)$ search.php?marine [L,NC]
########### AIRPORT ###########
RewriteRule ^airport/statistics/aircraft/([^/]+)(/?)$ airport-statistics-aircraft.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/registration/([^/]+)(/?)$ airport-statistics-registration.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/manufacturer/([^/]+)(/?)$ airport-statistics-manufacturer.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/airline/([^/]+)(/?)$ airport-statistics-airline.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/airline-country/([^/]+)(/?)$ airport-statistics-airline-country.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/departure-airport/([^/]+)(/?)$ airport-statistics-departure-airport.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/departure-airport-country/([^/]+)(/?)$ airport-statistics-departure-airport-country.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/arrival-airport/([^/]+)(/?)$ airport-statistics-arrival-airport.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/arrival-airport-country/([^/]+)(/?)$ airport-statistics-arrival-airport-country.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/time/([^/]+)(/?)$ airport-statistics-time.php?airport=$1 [L,NC]
RewriteRule ^airport/statistics/route/([^/]+)(/?)$ airport-statistics-route.php?airport=$1 [L,NC]
RewriteRule ^airport/detailed/([^/]+)/([^/]+)/([^/]+)(/?)$ airport-detailed.php?airport=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^airport/detailed/([^/]+)/([^/]+)(/?)$ airport-detailed.php?airport=$1&limit=$2 [L,NC]
RewriteRule ^airport/([^/]+)/([^/]+)/([^/]+)(/?)$ airport-detailed.php?airport=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^airport/([^/]+)/([^/]+)(/?)$ airport-detailed.php?airport=$1&limit=$2 [L,NC]
RewriteRule ^airport/([^/]+)(/?)$ airport-detailed.php?airport=$1 [L,NC]
RewriteRule ^airport(/?)$ airport.php [L,NC]
########### COUNTRY ###########
RewriteRule ^country/statistics/aircraft/([^/]+)(/?)$ country-statistics-aircraft.php?country=$1 [L,NC]
RewriteRule ^country/statistics/registration/([^/]+)(/?)$ country-statistics-registration.php?country=$1 [L,NC]
RewriteRule ^country/statistics/manufacturer/([^/]+)(/?)$ country-statistics-manufacturer.php?country=$1 [L,NC]
RewriteRule ^country/statistics/airline/([^/]+)(/?)$ country-statistics-airline.php?country=$1 [L,NC]
RewriteRule ^country/statistics/airline-country/([^/]+)(/?)$ country-statistics-airline-country.php?country=$1 [L,NC]
RewriteRule ^country/statistics/departure-airport/([^/]+)(/?)$ country-statistics-departure-airport.php?country=$1 [L,NC]
RewriteRule ^country/statistics/departure-airport-country/([^/]+)(/?)$ country-statistics-departure-airport-country.php?country=$1 [L,NC]
RewriteRule ^country/statistics/arrival-airport/([^/]+)(/?)$ country-statistics-arrival-airport.php?country=$1 [L,NC]
RewriteRule ^country/statistics/arrival-airport-country/([^/]+)(/?)$ country-statistics-arrival-airport-country.php?country=$1 [L,NC]
RewriteRule ^country/statistics/time/([^/]+)(/?)$ country-statistics-time.php?country=$1 [L,NC]
RewriteRule ^country/statistics/route/([^/]+)(/?)$ country-statistics-route.php?country=$1 [L,NC]
RewriteRule ^country/([^/]+)/([^/]+)/([^/]+)(/?)$ country-detailed.php?country=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^country/([^/]+)/([^/]+)(/?)$ country-detailed.php?country=$1&limit=$2 [L,NC]
RewriteRule ^country/([^/]+)(/?)$ country-detailed.php?country=$1 [L,NC]
RewriteRule ^country(/?)$ country.php [L,NC]
########### REGISTRATION ###########
RewriteRule ^registration/statistics/departure-airport/([^/]+)(/?)$ registration-statistics-departure-airport.php?registration=$1 [L,NC]
RewriteRule ^registration/statistics/departure-airport-country/([^/]+)(/?)$ registration-statistics-departure-airport-country.php?registration=$1 [L,NC]
RewriteRule ^registration/statistics/arrival-airport-country/([^/]+)(/?)$ registration-statistics-arrival-airport-country.php?registration=$1 [L,NC]
RewriteRule ^registration/statistics/arrival-airport/([^/]+)(/?)$ registration-statistics-arrival-airport.php?registration=$1 [L,NC]
RewriteRule ^registration/statistics/time/([^/]+)(/?)$ registration-statistics-time.php?registration=$1 [L,NC]
RewriteRule ^registration/statistics/route/([^/]+)(/?)$ registration-statistics-route.php?registration=$1 [L,NC]
RewriteRule ^registration/([^/]+)/([^/]+)/([^/]+)(/?)$ registration-detailed.php?registration=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^registration/([^/]+)/([^/]+)(/?)$ registration-detailed.php?registration=$1&limit=$2 [L,NC]
RewriteRule ^registration/([^/]+)(/?)$ registration-detailed.php?registration=$1 [L,NC]
RewriteRule ^registration(/?)$ registration.php [L,NC]
########### MANUFACTURER ###########
RewriteRule ^manufacturer/statistics/aircraft/([^/]+)(/?)$ manufacturer-statistics-aircraft.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/registration/([^/]+)(/?)$ manufacturer-statistics-registration.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/airline/([^/]+)(/?)$ manufacturer-statistics-airline.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/airline-country/([^/]+)(/?)$ manufacturer-statistics-airline-country.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/departure-airport/([^/]+)(/?)$ manufacturer-statistics-departure-airport.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/departure-airport-country/([^/]+)(/?)$ manufacturer-statistics-departure-airport-country.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/arrival-airport/([^/]+)(/?)$ manufacturer-statistics-arrival-airport.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/arrival-airport-country/([^/]+)(/?)$ manufacturer-statistics-arrival-airport-country.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/time/([^/]+)(/?)$ manufacturer-statistics-time.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/statistics/route/([^/]+)(/?)$ manufacturer-statistics-route.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer/([^/]+)/([^/]+)/([^/]+)(/?)$ manufacturer-detailed.php?aircraft_manufacturer=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^manufacturer/([^/]+)/([^/]+)(/?)$ manufacturer-detailed.php?aircraft_manufacturer=$1&limit=$2 [L,NC]
RewriteRule ^manufacturer/([^/]+)(/?)$ manufacturer-detailed.php?aircraft_manufacturer=$1 [L,NC]
RewriteRule ^manufacturer(/?)$ manufacturer.php [L,NC]
########### AIRLINE ###########
RewriteRule ^airline/statistics/aircraft/([^/]+)(/?)$ airline-statistics-aircraft.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/registration/([^/]+)(/?)$ airline-statistics-registration.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/manufacturer/([^/]+)(/?)$ airline-statistics-manufacturer.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/departure-airport/([^/]+)(/?)$ airline-statistics-departure-airport.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/departure-airport-country/([^/]+)(/?)$ airline-statistics-departure-airport-country.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/arrival-airport/([^/]+)(/?)$ airline-statistics-arrival-airport.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/arrival-airport-country/([^/]+)(/?)$ airline-statistics-arrival-airport-country.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/time/([^/]+)(/?)$ airline-statistics-time.php?airline=$1 [L,NC]
RewriteRule ^airline/statistics/route/([^/]+)(/?)$ airline-statistics-route.php?airline=$1 [L,NC]
RewriteRule ^airline/([^/]+)/([^/]+)/([^/]+)(/?)$ airline-detailed.php?airline=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^airline/([^/]+)/([^/]+)(/?)$ airline-detailed.php?airline=$1&limit=$2 [L,NC]
RewriteRule ^airline/([^/]+)(/?)$ airline-detailed.php?airline=$1&limit=$2 [L,NC]
RewriteRule ^airline(/?)$ airline.php [L,NC]
########### ROUTE ###########
RewriteRule ^route/statistics/aircraft/([^/]+)/([^/]+)(/?)$ route-statistics-aircraft.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/statistics/registration/([^/]+)/([^/]+)(/?)$ route-statistics-registration.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/statistics/manufacturer/([^/]+)/([^/]+)(/?)$ route-statistics-manufacturer.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/statistics/airline/([^/]+)/([^/]+)(/?)$ route-statistics-airline.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/statistics/airline-country/([^/]+)/([^/]+)(/?)$ route-statistics-airline-country.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/statistics/time/([^/]+)/([^/]+)(/?)$ route-statistics-time.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route/([^/]+)/([^/]+)/([^/]+)/([^/]+)(/?)$ route-detailed.php?departure_airport=$1&arrival_airport=$2&limit=$3&sort=$4 [L,NC]
RewriteRule ^route/([^/]+)/([^/]+)/([^/]+)(/?)$ route-detailed.php?departure_airport=$1&arrival_airport=$2&limit=$3 [L,NC]
RewriteRule ^route/([^/]+)/([^/]+)(/?)$ route-detailed.php?departure_airport=$1&arrival_airport=$2 [L,NC]
RewriteRule ^route(/?)$ route.php [L,NC]
########### IDENT ###########
RewriteRule ^ident/statistics/aircraft/([^/]+)(/?)$ ident-statistics-aircraft.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/registration/([^/]+)(/?)$ ident-statistics-registration.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/manufacturer/([^/]+)(/?)$ ident-statistics-manufacturer.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/departure-airport/([^/]+)(/?)$ ident-statistics-departure-airport.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/departure-airport-country/([^/]+)(/?)$ ident-statistics-departure-airport-country.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/arrival-airport/([^/]+)(/?)$ ident-statistics-arrival-airport.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/arrival-airport-country/([^/]+)(/?)$ ident-statistics-arrival-airport-country.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/time/([^/]+)(/?)$ ident-statistics-time.php?ident=$1 [L,NC]
RewriteRule ^ident/statistics/route/([^/]+)(/?)$ ident-statistics-route.php?ident=$1 [L,NC]
RewriteRule ^ident/([^/]+)/([^/]+)/([^/]+)(/?)$ ident-detailed.php?ident=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^ident/([^/]+)/([^/]+)(/?)$ ident-detailed.php?ident=$1&limit=$2 [L,NC]
RewriteRule ^ident/([^/]+)(/?)$ ident-detailed.php?ident=$1 [L,NC]
RewriteRule ^ident(/?)$ ident.php [L,NC]
#---------- MARINE ---------
RewriteRule ^marine/ident/([^/]+)/([^/]+)/([^/]+)(/?)$ ident-detailed.php?marine&ident=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^marine/ident/([^/]+)/([^/]+)(/?)$ ident-detailed.php?marine&ident=$1&limit=$2 [L,NC]
RewriteRule ^marine/ident/([^/]+)(/?)$ ident-detailed.php?marine&ident=$1 [L,NC]
RewriteRule ^marine/ident(/?)$ ident.php?marine [L,NC]
#---------- TRACKER ---------
RewriteRule ^tracker/ident/([^/]+)/([^/]+)/([^/]+)(/?)$ ident-detailed.php?tracker&ident=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^tracker/ident/([^/]+)/([^/]+)(/?)$ ident-detailed.php?tracker&ident=$1&limit=$2 [L,NC]
RewriteRule ^tracker/ident/([^/]+)(/?)$ ident-detailed.php?tracker&ident=$1 [L,NC]
RewriteRule ^tracker/ident(/?)$ ident.php?tracker [L,NC]
########### OWNER ###########
RewriteRule ^owner/statistics/aircraft/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-aircraft.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/aircraft/([^/]+)(/?)$ owner-statistics-aircraft.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/registration/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-registration.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/registration/([^/]+)(/?)$ owner-statistics-registration.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/manufacturer/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-manufacturer.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/manufacturer/([^/]+)(/?)$ owner-statistics-manufacturer.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/departure-airport/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-departure-airport.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/departure-airport/([^/]+)(/?)$ owner-statistics-departure-airport.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/departure-airport-country/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-departure-airport-country.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/departure-airport-country/([^/]+)(/?)$ owner-statistics-departure-airport-country.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/arrival-airport/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-arrival-airport.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/arrival-airport/([^/]+)(/?)$ owner-statistics-arrival-airport.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/arrival-airport-country/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-arrival-airport-country.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/arrival-airport-country/([^/]+)(/?)$ owner-statistics-arrival-airport-country.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/time/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-time.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/time/([^/]+)(/?)$ owner-statistics-time.php?owner=$1 [L,NC]
RewriteRule ^owner/statistics/route/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-statistics-route.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/statistics/route/([^/]+)(/?)$ owner-statistics-route.php?owner=$1 [L,NC]
RewriteRule ^owner/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)/([^/]+)(/?)$ owner-detailed.php?owner=$1&year=$2&month=$3&limit=$4&sort=$5 [L,NC]
RewriteRule ^owner/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)(/?)$ owner-detailed.php?owner=$1&year=$2&month=$3&limit=$4 [L,NC]
RewriteRule ^owner/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ owner-detailed.php?owner=$1&year=$2&month=$3 [L,NC]
RewriteRule ^owner/([^/]+)/([^/]+)/([^/]+)(/?)$ owner-detailed.php?owner=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^owner/([^/]+)/([^/]+)(/?)$ owner-detailed.php?owner=$1&limit=$2 [L,NC]
RewriteRule ^owner/([^/]+)(/?)$ owner-detailed.php?owner=$1 [L,NC]
RewriteRule ^owner(/?)$ owner.php [L,NC]
########### PILOT ###########
RewriteRule ^pilot/statistics/aircraft/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-aircraft.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/aircraft/([^/]+)(/?)$ pilot-statistics-aircraft.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/registration/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-registration.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/registration/([^/]+)(/?)$ pilot-statistics-registration.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/manufacturer/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-manufacturer.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/manufacturer/([^/]+)(/?)$ pilot-statistics-manufacturer.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/departure-airport/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-departure-airport.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/departure-airport/([^/]+)(/?)$ pilot-statistics-departure-airport.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/departure-airport-country/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-departure-airport-country.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/departure-airport-country/([^/]+)(/?)$ pilot-statistics-departure-airport-country.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/arrival-airport/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-arrival-airport.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/arrival-airport/([^/]+)(/?)$ pilot-statistics-arrival-airport.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/arrival-airport-country/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-arrival-airport-country.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/arrival-airport-country/([^/]+)(/?)$ pilot-statistics-arrival-airport-country.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/time/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-time.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/time/([^/]+)(/?)$ pilot-statistics-time.php?pilot=$1 [L,NC]
RewriteRule ^pilot/statistics/route/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-statistics-route.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/statistics/route/([^/]+)(/?)$ pilot-statistics-route.php?pilot=$1 [L,NC]
RewriteRule ^pilot/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)/([^/]+)(/?)$ pilot-detailed.php?pilot=$1&year=$2&month=$3&limit=$4&sort=$5 [L,NC]
RewriteRule ^pilot/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)(/?)$ pilot-detailed.php?pilot=$1&year=$2&month=$3&limit=$4 [L,NC]
RewriteRule ^pilot/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ pilot-detailed.php?pilot=$1&year=$2&month=$3 [L,NC]
RewriteRule ^pilot/([^/]+)/([^/]+)/([^/]+)(/?)$ pilot-detailed.php?pilot=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^pilot/([^/]+)/([^/]+)(/?)$ pilot-detailed.php?pilot=$1&limit=$2 [L,NC]
RewriteRule ^pilot/([^/]+)(/?)$ pilot-detailed.php?pilot=$1 [L,NC]
RewriteRule ^pilot(/?)$ pilot.php [L,NC]
########### CAPTAIN ###########
RewriteRule ^marine/captain/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)/([^/]+)(/?)$ captain-detailed.php?captain=$1&year=$2&month=$3&limit=$4&sort=$5 [L,NC]
RewriteRule ^marine/captain/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)(/?)$ captain-detailed.php?captain=$1&year=$2&month=$3&limit=$4 [L,NC]
RewriteRule ^marine/captain/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ captain-detailed.php?captain=$1&year=$2&month=$3 [L,NC]
RewriteRule ^marine/captain/([^/]+)/([^/]+)/([^/]+)(/?)$ captain-detailed.php?captain=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^marine/captain/([^/]+)/([^/]+)(/?)$ captain-detailed.php?captain=$1&limit=$2 [L,NC]
RewriteRule ^marine/captain/([^/]+)(/?)$ captain-detailed.php?captain=$1 [L,NC]
RewriteRule ^marine/captain(/?)$ captain.php [L,NC]
########### RACE ###########
RewriteRule ^marine/race/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)/([^/]+)(/?)$ race-detailed.php?race=$1&year=$2&month=$3&limit=$4&sort=$5 [L,NC]
RewriteRule ^marine/race/([^/]+)/([0-9]{4})/([0-9]{2})/([^/]+)(/?)$ race-detailed.php?race=$1&year=$2&month=$3&limit=$4 [L,NC]
RewriteRule ^marine/race/([^/]+)/([0-9]{4})/([0-9]{2})(/?)$ race-detailed.php?race=$1&year=$2&month=$3 [L,NC]
RewriteRule ^marine/race/([^/]+)/([^/]+)/([^/]+)(/?)$ race-detailed.php?race=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^marine/race/([^/]+)/([^/]+)(/?)$ race-detailed.php?race=$1&limit=$2 [L,NC]
RewriteRule ^marine/race/([^/]+)(/?)$ race-detailed.php?race=$1 [L,NC]
RewriteRule ^marine/race(/?)$ race.php [L,NC]
########### AIRCRAFT ###########
RewriteRule ^aircraft/statistics/airline/([^/]+)(/?)$ aircraft-statistics-airline.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/airline-country/([^/]+)(/?)$ aircraft-statistics-airline-country.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/registration/([^/]+)(/?)$ aircraft-statistics-registration.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/departure-airport/([^/]+)(/?)$ aircraft-statistics-departure-airport.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/departure-airport-country/([^/]+)(/?)$ aircraft-statistics-departure-airport-country.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/arrival-airport/([^/]+)(/?)$ aircraft-statistics-arrival-airport.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/arrival-airport-country/([^/]+)(/?)$ aircraft-statistics-arrival-airport-country.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/time/([^/]+)(/?)$ aircraft-statistics-time.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/statistics/route/([^/]+)(/?)$ aircraft-statistics-route.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft/([^/]+)/([^/]+)/([^/]+)(/?)$ aircraft-detailed.php?aircraft_type=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^aircraft/([^/]+)/([^/]+)(/?)$ aircraft-detailed.php?aircraft_type=$1&limit=$2 [L,NC]
RewriteRule ^aircraft/([^/]+)(/?)$ aircraft-detailed.php?aircraft_type=$1 [L,NC]
RewriteRule ^aircraft(/?)$ aircraft.php [L,NC]
########### TYPE ###########
RewriteRule ^marine/type/([^/]+)/([^/]+)/([^/]+)(/?)$ marine-type-detailed.php?type=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^marine/type/([^/]+)/([^/]+)(/?)$ marine-type-detailed.php?type=$1&limit=$2 [L,NC]
RewriteRule ^marine/type/([^/]+)(/?)$ marine-type-detailed.php?type=$1 [L,NC]
########### DATE ###########
RewriteRule ^date/statistics/aircraft/([^/]+)(/?)$ date-statistics-aircraft.php?date=$1 [L,NC]
RewriteRule ^date/statistics/registration/([^/]+)(/?)$ date-statistics-registration.php?date=$1 [L,NC]
RewriteRule ^date/statistics/manufacturer/([^/]+)(/?)$ date-statistics-manufacturer.php?date=$1 [L,NC]
RewriteRule ^date/statistics/airline/([^/]+)(/?)$ date-statistics-airline.php?date=$1 [L,NC]
RewriteRule ^date/statistics/airline-country/([^/]+)(/?)$ date-statistics-airline-country.php?date=$1 [L,NC]
RewriteRule ^date/statistics/departure-airport/([^/]+)(/?)$ date-statistics-departure-airport.php?date=$1 [L,NC]
RewriteRule ^date/statistics/departure-airport-country/([^/]+)(/?)$ date-statistics-departure-airport-country.php?date=$1 [L,NC]
RewriteRule ^date/statistics/arrival-airport/([^/]+)(/?)$ date-statistics-arrival-airport.php?date=$1 [L,NC]
RewriteRule ^date/statistics/arrival-airport-country/([^/]+)(/?)$ date-statistics-arrival-airport-country.php?date=$1 [L,NC]
RewriteRule ^date/statistics/time/([^/]+)(/?)$ date-statistics-time.php?date=$1 [L,NC]
RewriteRule ^date/statistics/route/([^/]+)(/?)$ date-statistics-route.php?date=$1 [L,NC]
RewriteRule ^date/([^/]+)/([^/]+)/([^/]+)(/?)$ date-detailed.php?date=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^date/([^/]+)/([^/]+)(/?)$ date-detailed.php?date=$1&limit=$2 [L,NC]
RewriteRule ^date/([^/]+)(/?)$ date-detailed.php?date=$1 [L,NC]
RewriteRule ^date(/?)$ date.php [L,NC]
#---------- MARINE ---------
RewriteRule ^marine/date/([^/]+)/([^/]+)/([^/]+)(/?)$ date-detailed.php?marine&date=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^marine/date/([^/]+)/([^/]+)(/?)$ date-detailed.php?marine&date=$1&limit=$2 [L,NC]
RewriteRule ^marine/date/([^/]+)(/?)$ date-detailed.php?marine&date=$1 [L,NC]
RewriteRule ^marine/date(/?)$ date.php?marine [L,NC]
#---------- TRACKER ---------
RewriteRule ^tracker/date/([^/]+)/([^/]+)/([^/]+)(/?)$ date-detailed.php?tracker&date=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^tracker/date/([^/]+)/([^/]+)(/?)$ date-detailed.php?tracker&date=$1&limit=$2 [L,NC]
RewriteRule ^tracker/date/([^/]+)(/?)$ date-detailed.php?tracker&date=$1 [L,NC]
RewriteRule ^tracker/date(/?)$ date.php?tracker [L,NC]
########### ARCHIVE ###########
RewriteRule ^archive/country/([^/]+)/([^/]+)(/?)$ archive-country.php?country=$1&date=$2 [L,NC]
########### FLIGHTID ###########
RewriteRule ^flightid/([^/]+)(/?)$ flightid-overview.php?id=$1 [L,NC]
########### STATISTICS ###########
RewriteRule ^statistics/aircraft/([0-9]+)/([0-9]+)(/?)$ statistics-aircraft.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/aircraft/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-aircraft.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/aircraft/([^/]+)(/?)$ statistics-aircraft.php?airline=$1 [L,NC]
RewriteRule ^statistics/aircraft(/?)$ statistics-aircraft.php [L,NC]
RewriteRule ^statistics/registration/([0-9]+)/([0-9]+)(/?)$ statistics-registration.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/registration/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-registration.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/registration/([^/]+)(/?)$ statistics-registration.php?airline=$1 [L,NC]
RewriteRule ^statistics/registration(/?)$ statistics-registration.php [L,NC]
RewriteRule ^statistics/manufacturer/([0-9]+)/([0-9]+)(/?)$ statistics-manufacturer.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/manufacturer/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-manufacturer.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/manufacturer/([^/]+)(/?)$ statistics-manufacturer.php?airline=$1 [L,NC]
RewriteRule ^statistics/manufacturer(/?)$ statistics-manufacturer.php [L,NC]
RewriteRule ^statistics/airline/([0-9]+)/([0-9]+)(/?)$ statistics-airline.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airline/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airline.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airline/([^/]+)(/?)$ statistics-airline.php?airline=$1 [L,NC]
RewriteRule ^statistics/airline(/?)$ statistics-airline.php [L,NC]
RewriteRule ^statistics/airline-country/([0-9]+)/([0-9]+)(/?)$ statistics-airline-country.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airline-country/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airline-country.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airline-country/([^/]+)(/?)$ statistics-airline-country.php?airline=$1 [L,NC]
RewriteRule ^statistics/airline-country(/?)$ statistics-airline-country.php [L,NC]
RewriteRule ^statistics/airport-departure/([0-9]+)/([0-9]+)(/?)$ statistics-airport-departure.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airport-departure/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airport-departure.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airport-departure/([^/]+)(/?)$ statistics-airport-departure.php?airline=$1 [L,NC]
RewriteRule ^statistics/airport-departure(/?)$ statistics-airport-departure.php [L,NC]
RewriteRule ^statistics/airport-departure-country/([0-9]+)/([0-9]+)(/?)$ statistics-airport-departure-country.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airport-departure-country/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airport-departure-country.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airport-departure-country/([^/]+)(/?)$ statistics-airport-departure-country.php?airline=$1 [L,NC]
RewriteRule ^statistics/airport-departure-country(/?)$ statistics-airport-departure-country.php [L,NC]
RewriteRule ^statistics/airport-arrival/([0-9]+)/([0-9]+)(/?)$ statistics-airport-arrival.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airport-arrival/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airport-arrival.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airport-arrival/([^/]+)(/?)$ statistics-airport-arrival.php?airline=$1 [L,NC]
RewriteRule ^statistics/airport-arrival(/?)$ statistics-airport-arrival.php [L,NC]
RewriteRule ^statistics/airport-arrival-country/([0-9]+)/([0-9]+)(/?)$ statistics-airport-arrival-country.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/airport-arrival-country/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-airport-arrival-country.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/airport-arrival-country/([^/]+)(/?)$ statistics-airport-arrival-country.php?airline=$1 [L,NC]
RewriteRule ^statistics/airport-arrival-country(/?)$ statistics-airport-arrival-country.php [L,NC]
RewriteRule ^statistics/route-airport/([^/]+)(/?)$ statistics-route-airport.php?airline=$1 [L,NC]
RewriteRule ^statistics/route-airport(/?)$ statistics-route-airport.php [L,NC]
RewriteRule ^statistics/route-waypoint/([^/]+)(/?)$ statistics-route-waypoint.php?airline=$1 [L,NC]
RewriteRule ^statistics/route-waypoint(/?)$ statistics-route-waypoint.php [L,NC]
RewriteRule ^statistics/callsign/([0-9]+)/([0-9]+)(/?)$ statistics-callsign.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/callsign/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-callsign.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/callsign/([^/]+)(/?)$ statistics-callsign.php?airline=$1 [L,NC]
RewriteRule ^statistics/callsign(/?)$ statistics-callsign.php [L,NC]
RewriteRule ^statistics/date/([^/]+)(/?)$ statistics-date.php?airline=$1 [L,NC]
RewriteRule ^statistics/date(/?)$ statistics-date.php [L,NC]
RewriteRule ^statistics/time/([^/]+)(/?)$ statistics-time.php?airline=$1 [L,NC]
RewriteRule ^statistics/time(/?)$ statistics-time.php [L,NC]
RewriteRule ^statistics/month/([^/]+)(/?)$ statistics-month.php?airline=$1 [L,NC]
RewriteRule ^statistics/month(/?)$ statistics-month.php [L,NC]
RewriteRule ^statistics/year/([^/]+)(/?)$ statistics-year.php?airline=$1 [L,NC]
RewriteRule ^statistics/year(/?)$ statistics-year.php [L,NC]
RewriteRule ^statistics/owner/([0-9]+)/([0-9]+)(/?)$ statistics-owner.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/owner/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-owner.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/owner/([^/]+)(/?)$ statistics-owner.php?airline=$1 [L,NC]
RewriteRule ^statistics/owner(/?)$ statistics-owner.php [L,NC]
RewriteRule ^statistics/pilot/([0-9]+)/([0-9]+)(/?)$ statistics-pilot.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/pilot/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics-pilot.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/pilot/([^/]+)(/?)$ statistics-pilot.php?airline=$1 [L,NC]
RewriteRule ^statistics/pilot(/?)$ statistics-pilot.php [L,NC]
RewriteRule ^statistics/country/([^/]+)(/?)$ statistics-country.php?airline=$1 [L,NC]
RewriteRule ^statistics/country(/?)$ statistics-country.php [L,NC]
RewriteRule ^statistics/fatalities/year(/?)$ statistics-fatalities-year.php [L,NC]
RewriteRule ^statistics/fatalities/month(/?)$ statistics-fatalities-month.php [L,NC]
RewriteRule ^statistics/([0-9]+)/([0-9]+)(/?)$ statistics.php?year=$1&month=$2 [L,NC]
RewriteRule ^statistics/([^/]+)/([0-9]+)/([0-9]+)(/?)$ statistics.php?airline=$1&year=$2&month=$3 [L,NC]
RewriteRule ^statistics/([^/]+)(/?)$ statistics.php?airline=$1 [L,NC]
RewriteRule ^statistics(/?)$ statistics.php [L,NC]
#---------- MARINE ---------
RewriteRule ^marine/statistics/date(/?)$ statistics-date.php?marine [L,NC]
RewriteRule ^marine/statistics/time(/?)$ statistics-time.php?marine [L,NC]
RewriteRule ^marine/statistics/month(/?)$ statistics-month.php?marine [L,NC]
RewriteRule ^marine/statistics/year(/?)$ statistics-year.php?marine [L,NC]
RewriteRule ^marine/statistics/country(/?)$ statistics-country.php?marine [L,NC]
RewriteRule ^marine/statistics/type(/?)$ statistics-type.php?marine [L,NC]
RewriteRule ^marine/statistics/race(/?)$ statistics-race.php?marine [L,NC]
RewriteRule ^marine/statistics(/?)$ statistics.php?marine [L,NC]
#---------- TRACKER ---------
RewriteRule ^tracker/statistics/date(/?)$ statistics-date.php?tracker [L,NC]
RewriteRule ^tracker/statistics/time(/?)$ statistics-time.php?tracker [L,NC]
RewriteRule ^tracker/statistics/month(/?)$ statistics-month.php?tracker [L,NC]
RewriteRule ^tracker/statistics/year(/?)$ statistics-year.php?tracker [L,NC]
RewriteRule ^tracker/statistics/country(/?)$ statistics-country.php?tracker [L,NC]
RewriteRule ^tracker/statistics(/?)$ statistics.php?tracker [L,NC]
#---------- SATELLITE ---------
RewriteRule ^satellite/statistics/date(/?)$ statistics-date.php?satellite [L,NC]
RewriteRule ^satellite/statistics/time(/?)$ statistics-time.php?satellite [L,NC]
RewriteRule ^satellite/statistics/month(/?)$ statistics-month.php?satellite [L,NC]
RewriteRule ^satellite/statistics/year(/?)$ statistics-year.php?satellite [L,NC]
RewriteRule ^satellite/statistics/country(/?)$ statistics-country.php?satellite [L,NC]
RewriteRule ^satellite/statistics(/?)$ statistics.php?satellite [L,NC]
########### UPCOMING ###########
RewriteRule ^upcoming/([^/]+)/([^/]+)(/?)$ upcoming.php?limit=$1&sort=$2 [L,NC]
RewriteRule ^upcoming/([^/]+)(/?)$ upcoming.php?limit=$1 [L,NC]
RewriteRule ^upcoming(/?)$ upcoming.php [L,NC]
########### TOOLS ###########
RewriteRule ^tools/acars(/?)$ tools-acars.php [L,NC]
RewriteRule ^tools/metar(/?)$ tools-metar.php [L,NC]
RewriteRule ^tools/notam(/?)$ tools-notam.php [L,NC]
RewriteRule ^tools/geoid(/?)$ tools-geoid.php [L,NC]
########### NEWS ###########
RewriteRule ^news(/?)$ news.php [L,NC]
RewriteRule ^news-aircraft(/?)$ news.php?aircraft [L,NC]
RewriteRule ^marine/news(/?)$ news.php?marine [L,NC]
RewriteRule ^tracker/news(/?)$ news.php?tracker [L,NC]
RewriteRule ^satellite/news(/?)$ news.php?satellite [L,NC]
########### ACCIDENTS/INCIDENTS ###########
RewriteRule ^accident-latest/([^/]+)(/?)$ accident-latest.php?limit=$1 [L,NC]
RewriteRule ^incident-latest/([^/]+)(/?)$ incident-latest.php?limit=$1 [L,NC]
RewriteRule ^accident-latest(/?)$ accident-latest.php [L,NC]
RewriteRule ^incident-latest(/?)$ incident-latest.php [L,NC]
RewriteRule ^accident/([^/]+)/([^/]+)/([^/]+)(/?)$ accident-detailed.php?date=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^accident/([^/]+)/([^/]+)(/?)$ accident-detailed.php?date=$1&limit=$2 [L,NC]
RewriteRule ^accident/([^/]+)(/?)$ accident-detailed.php?date=$1 [L,NC]
RewriteRule ^accident(/?)$ accident.php [L,NC]
RewriteRule ^incident/([^/]+)/([^/]+)/([^/]+)(/?)$ incident-detailed.php?date=$1&limit=$2&sort=$3 [L,NC]
RewriteRule ^incident/([^/]+)/([^/]+)(/?)$ incident-detailed.php?date=$1&limit=$2 [L,NC]
RewriteRule ^incident/([^/]+)(/?)$ incident-detailed.php?date=$1 [L,NC]
RewriteRule ^incident(/?)$ incident.php [L,NC]