forked from iRail/iRail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
36 lines (29 loc) · 1.1 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
#
# iRail.be .htaccess file
#
# by Yeri 'Tuinslak' Tiete (yeri.be)
#
# move to the root folder
#
Options -Indexes
Options +FollowSymLinks
AddDefaultCharset UTF-8
# mod rewrite, I like sexy looking URLs
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index$ index.php [NC,L]
RewriteRule ^index.htm$ index.php [NC,L]
RewriteRule ^index.html$ index.php [NC,L]
RewriteRule ^national$ index.php [NC,L]
RewriteRule ^nat$ index.php [NC,L]
RewriteRule ^international$ international.php [NC,L]
RewriteRule ^int$ international.php [NC,L]
RewriteRule ^results$ query_nat.php [NC,L]
RewriteRule ^intresults$ query_int.php [NC,L]
RewriteRule ^noresults$ noresults.php [NC,L]
RewriteRule ^settings$ settings.php [NC,L]
RewriteRule ^save$ save.php [NC,L]
RewriteRule ^about$ about.php [NC,L]
RewriteRule ^changelog$ docs/changelog.php [NC,L]
</IfModule>