-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
139 lines (113 loc) · 6.3 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
AddType text/plain .md
AddCharset UTF-8 .css .html .js .md .txt .xml
Options +Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^_special/(.+)$ dispatch.php?p=_special/$1 [L]
RewriteRule ^bank$ dispatch.php?p=bank [L]
RewriteRule ^bank/(.+)$ dispatch.php?p=bank/$1 [L]
RewriteRule ^ctpl/(.+).mtt$ dispatch.php?p=ctpl/$1.mtt [L]
RewriteRule ^defm$ dispatch.php?p=defm [L]
RewriteRule ^defy$ dispatch.php?p=defy [L]
RewriteRule ^defy/(.+)$ dispatch.php?p=defy/$1 [L]
RewriteCond %{QUERY_STRING} ^themeId=([^&]+)$
RewriteRule ^forum/search$ dispatch.php?p=forum/search&themeId=%1 [L]
RewriteRule ^forum$ dispatch.php?p=forum [L]
RewriteRule ^forum/(.+)$ dispatch.php?p=forum/$1 [L]
RewriteCond %{QUERY_STRING} ^gameId=([^&]+)$
RewriteRule ^game/play_generic$ dispatch.php?p=game/play_generic&id=%1 [L]
RewriteCond %{QUERY_STRING} ^queue=([^&]+)$
RewriteRule ^game/queue$ dispatch.php?p=game/queue&queue=%1 [L]
RewriteCond %{QUERY_STRING} ^game=([^&]+)$
RewriteRule ^game/rankings$ dispatch.php?p=game/rankings&game=%1 [L]
RewriteCond %{QUERY_STRING} ^old=([^&]+)$
RewriteRule ^game/rankings$ dispatch.php?p=game/rankings&old=%1 [L]
RewriteRule ^game$ dispatch.php?p=game [L]
RewriteRule ^game/(.+)$ dispatch.php?p=game/$1 [L]
RewriteCond %{QUERY_STRING} ^go=([^&]+)$
RewriteRule ^group/([0-9]+)$ dispatch.php?p=group/$1&go=%1 [L]
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule ^group/([0-9]+)/auth$ dispatch.php?p=group/$1/auth&id=%1 [L]
RewriteCond %{QUERY_STRING} ^v=([^&]+)$
RewriteRule ^group/([0-9]+)/autoAccept$ dispatch.php?p=group/$1/autoAccept&v=%1 [L]
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule ^group/([0-9]+)/deletePost$ dispatch.php?p=group/$1/deletePost&id=%1 [L]
RewriteCond %{QUERY_STRING} ^edit=([^&]+)$
RewriteRule ^group/([0-9]+)/description$ dispatch.php?p=group/$1/description&edit=%1 [L]
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule ^group/([0-9]+)/eject$ dispatch.php?p=group/$1/eject&id=%1 [L]
RewriteCond %{QUERY_STRING} ^confirm=([^&]+)$
RewriteRule ^group/([0-9]+)/join$ dispatch.php?p=group/$1/join&confirm=%1 [L]
RewriteCond %{QUERY_STRING} ^v=([^&]+)$
RewriteRule ^group/([0-9]+)/watchChat$ dispatch.php?p=group/$1/watchChat&v=%1 [L]
RewriteRule ^group$ dispatch.php?p=group [L]
RewriteRule ^group/(.+)$ dispatch.php?p=group/$1 [L]
RewriteRule ^head$ dispatch.php?p=head [L]
RewriteCond %{QUERY_STRING} ^section=([^&]+)$
RewriteRule ^help$ dispatch.php?p=help§ion=%1 [L]
RewriteRule ^help$ dispatch.php?p=help [L]
RewriteRule ^help/(.+)$ dispatch.php?p=help/$1 [L]
RewriteRule ^log$ dispatch.php?p=log [L]
RewriteCond %{QUERY_STRING} ^hide=([^&]+)$
RewriteRule ^news$ dispatch.php?p=news&hide=%1 [L]
RewriteRule ^news$ dispatch.php?p=news [L]
RewriteRule ^partnerFrame$ dispatch.php?p=partnerFrame [L]
RewriteCond %{QUERY_STRING} ^mode=([^&]+)$
RewriteRule ^party/history$ dispatch.php?p=party/history&mode=%1 [L]
RewriteRule ^party/(.+)$ dispatch.php?p=party/$1 [L]
RewriteRule ^play$ dispatch.php?p=play [L]
RewriteCond %{QUERY_STRING} ^page=([^&]+)$
RewriteRule ^pvmsg/([0-9]+)/delete$ dispatch.php?p=pvmsg/[id]/delete&id=$1&page=%1 [L]
RewriteCond %{QUERY_STRING} ^page=([^&]+)$
RewriteRule ^pvmsg/([0-9]+)/report$ dispatch.php?p=pvmsg/[id]/report&id=$1&page=%1 [L]
RewriteCond %{QUERY_STRING} ^to=([^&]+)$
RewriteRule ^pvmsg/new$ dispatch.php?p=pvmsg/new&to=%1 [L]
RewriteRule ^pvmsg$ dispatch.php?p=pvmsg [L]
RewriteRule ^pvmsg/(.+)$ dispatch.php?p=pvmsg/$1 [L]
RewriteCond %{QUERY_STRING} ^url=([^&]+)$
RewriteRule ^redir$ dispatch.php?p=redir&url=%1 [L]
RewriteCond %{QUERY_STRING} ^item=([^&]+)$
RewriteRule ^shop$ dispatch.php?p=shop&item=%1 [L]
RewriteCond %{QUERY_STRING} ^type=([^&]+)$
RewriteRule ^shop$ dispatch.php?p=shop&type=%1 [L]
RewriteCond %{QUERY_STRING} ^sid=([^&]+)$
RewriteRule ^shop/([0-9]+)/buy$ dispatch.php?p=shop/[id]/buy&id=$1&sid=%1 [L]
RewriteRule ^shop$ dispatch.php?p=shop [L]
RewriteRule ^shop/([0-9]+)/buy$ dispatch.php?p=shop/[id]/buy&id=$1 [L]
RewriteRule ^shop/(.+)$ dispatch.php?p=shop/$1 [L]
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule ^smileyTip$ dispatch.php?p=smileyTip&id=%1 [L]
RewriteRule ^smileyTip$ dispatch.php?p=smileyTip [L]
RewriteCond %{QUERY_STRING} ^sz=([^&]+)$
RewriteRule ^sponsor/embed.js$ dispatch.php?p=sponsor/embed.js&sz=%1 [L]
RewriteRule ^static/(.+)$ dispatch.php?p=static/$1 [L]
RewriteCond %{QUERY_STRING} ^submit=([^&]+)$
RewriteRule ^user/cancelDelete$ dispatch.php?p=user/cancelDelete&submit=%1 [L]
RewriteCond %{QUERY_STRING} ^iamnew=([^&]+)$
RewriteRule ^user/chooseDrink$ dispatch.php?p=user/chooseDrink&iamnew=%1 [L]
RewriteCond %{QUERY_STRING} ^id=([^&]+)$
RewriteRule ^user/chooseDrink$ dispatch.php?p=user/chooseDrink&id=%1 [L]
RewriteCond %{QUERY_STRING} ^group=([^&]+)$
RewriteRule ^user/mailMyFriends$ dispatch.php?p=user/mailMyFriends&group=%1 [L]
RewriteCond %{QUERY_STRING} ^gfx=([^&]+)$
RewriteRule ^user/register$ dispatch.php?p=user/register&gfx=%1 [L]
RewriteCond %{QUERY_STRING} ^s=([^&]+)$
RewriteRule ^user/register$ dispatch.php?p=user/register&s=%1 [L]
RewriteCond %{QUERY_STRING} ^online=([^&]+)$
RewriteRule ^user/search$ dispatch.php?p=user/search&online=%1 [L]
RewriteCond %{QUERY_STRING} ^v=([^&]+)$
RewriteRule ^user/siteSound$ dispatch.php?p=user/siteSound&v=%1 [L]
RewriteCond %{QUERY_STRING} ^rid=([^&]+)$
RewriteRule ^user/tipContact$ dispatch.php?p=user/tipContact&rid=%1 [L]
RewriteRule ^user/([0-9]+)/addBlackContact$ dispatch.php?p=user/[id]/addBlackContact&id=$1 [L]
RewriteRule ^user/([0-9]+)/addContact$ dispatch.php?p=user/[id]/addContact&id=$1 [L]
RewriteRule ^user/([0-9]+)/remBlackContact$ dispatch.php?p=user/[id]/remBlackContact&id=$1 [L]
RewriteRule ^user/([0-9]+)/remContact$ dispatch.php?p=user/[id]/remContact&id=$1 [L]
RewriteRule ^user/(.+)$ dispatch.php?p=user/$1 [L]
# Le nom des fichiers mp3 avait été changé par inadvertance dans l'archive. Leur nom d'origine a depuis été rétabli.
# Les noms qui avaient été utilisés restent conservés ici pour les versions 1.2 à 1.5 du loader (dossier "_toad06").
RewriteRule ^sound/__constructs__.mp3$ sound/empty.mp3 [L] # Il s'agit d'une erreur de programmation, un fichier factice a été ajouté pour éviter une erreur 404.
RewriteRule ^sound/my_turn.mp3$ sound/_MyTurn.mp3 [L]
RewriteRule ^sound/new_challenge.mp3$ sound/_NewDefy.mp3 [L]
RewriteRule ^sound/new_mail.mp3$ sound/_NewMail.mp3 [L]
RewriteRule ^sound/game_started.mp3$ sound/_PartyStarted.mp3 [L]