forked from horde/horde-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
134 lines (123 loc) · 4.79 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
<IfModule authz_core_module>
Require all granted
</IfModule>
<IfModule !authz_core_module>
Allow from all
</IfModule>
# Old website's URLs. Still missing:
# /demo
#RedirectMatch permanent (.*)/index.php $1
Redirect permanent /about /community
RedirectMatch permanent /consulting.* /services
Redirect permanent /documentation.php /development/documentation
# This don't work, no idea why:
RedirectMatch permanent /download/app/(index\.php)\?app=(.*) /download/$2
RedirectMatch permanent /(.*)/docs/?f=(.*).html /apps/$1/docs/$2
Redirect permanent /faq http://wiki.horde.org/FAQ
Redirect permanent /irc.php /community/support
Redirect permanent /licenses/asl.php /licenses/apache
Redirect permanent /licenses/bsdl.php /licenses/bsd
Redirect permanent /licenses/bsd.php /licenses/bsd
Redirect permanent /licenses/gpl.php /licenses/gpl
Redirect permanent /licenses/lgpl.php /licenses/lgpl
Redirect permanent /localization.php /community/localization
Redirect permanent /mail /community/mail
Redirect permanent /pear http://pear.horde.org
Redirect permanent /projects.php /apps
Redirect permanent /source/contribute.php /development/contribute
Redirect permanent /source/cvs.php /development/cvs
Redirect permanent /source/git.php /development/git
Redirect permanent /source/modules.php /development/modules
Redirect permanent /source/versions.php /development/versions
Redirect permanent /source /development
Redirect permanent /support.php /community/support
Redirect permanent /sync http://wiki.horde.org/SyncML
Redirect permanent /thanks.php /thanks
Redirect permanent /accounts/vote /apps/accounts
Redirect permanent /accounts /apps/accounts
Redirect permanent /ansel/screenshots/2 /apps/ansel/screenshots
Redirect permanent /ansel /apps/ansel
Redirect permanent /chora/about /apps/chora
Redirect permanent /chora/vote /apps/chora
Redirect permanent /chora /apps/chora
Redirect permanent /chora /apps/chora
Redirect permanent /dimp /apps/dimp
Redirect permanent /forwards/vote /apps/forwards
Redirect permanent /forwards /apps/forwards
Redirect permanent /gollem/vote /apps/gollem
Redirect permanent /gollem /apps/gollem
Redirect permanent /groupware /apps/groupware
Redirect permanent /hermes /apps/hermes
Redirect permanent /horde/vote /apps/horde
Redirect permanent /horde /apps/horde
# These IMP pages exist but don't load yet.
RedirectMatch permanent /imp/\d\.\d /apps/imp
Redirect permanent /imp/about /apps/imp
Redirect permanent /imp/contrib /apps/imp
Redirect permanent /imp/screenshots/3 /apps/imp/screenshots
Redirect permanent /imp/screenshots/4 /apps/imp/screenshots
Redirect permanent /imp/screenshots/5 /apps/imp/screenshots
Redirect permanent /imp/screenshots/old /apps/imp/screenshots
Redirect permanent /imp/vote /apps/imp
Redirect permanent /imp /apps/imp
Redirect permanent /ingo/vote /apps/ingo
Redirect permanent /ingo /apps/ingo
Redirect permanent /jeta/about /apps/jeta
Redirect permanent /jeta /apps/jeta
Redirect permanent /klutz /apps/klutz
Redirect permanent /kronolith/screenshots/3 /apps/kronolith/screenshots
Redirect permanent /kronolith/vote /apps/kronolith
Redirect permanent /kronolith /apps/kronolith
Redirect permanent /mimp/vote /apps/mimp
Redirect permanent /mimp /apps/mimp
Redirect permanent /mnemo/vote /apps/mnemo
Redirect permanent /mnemo /apps/mnemo
Redirect permanent /nag/about /apps/nag
Redirect permanent /nag/contrib /apps/nag
Redirect permanent /nag/vote /apps/nag
Redirect permanent /nag /apps/nag
Redirect permanent /passwd/about /apps/passwd
Redirect permanent /passwd/more.php /apps/passwd
Redirect permanent /passwd/poppassd /apps/passwd
Redirect permanent /passwd/vote /apps/passwd
Redirect permanent /passwd /apps/passwd
Redirect permanent /sork /apps/sork
Redirect permanent /turba/about /apps/turba
Redirect permanent /turba/contrib /apps/turba
Redirect permanent /turba/vote /apps/turba
Redirect permanent /turba /apps/turba
Redirect permanent /webmail /apps/webmail
Redirect permanent /whups/vote /apps/whups
Redirect permanent /whups /apps/whups
# Wicked still need to be converted to new website logic.
Redirect permanent /wicked /apps/wicked
Redirect gone /bounties
Redirect gone /mirrors
Redirect gone /rsync
Redirect gone /survey
Redirect gone /themes
Redirect gone /agora
Redirect gone /giapeto
Redirect gone /imapproxy
Redirect gone /jonah
Redirect gone /luxor
Redirect gone /midas
Redirect gone /nic
Redirect gone /rakim
Redirect gone /sam
Redirect gone /scry
Redirect gone /swoosh
Redirect gone /trean
Redirect gone /troll
Redirect gone /ulaform
ErrorDocument 410 /410
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^horde.org$
RewriteRule ^(.*)$ http://www.horde.org/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.php [QSA,L]
RewriteRule ^$ dispatch.php [QSA,L]
</IfModule>