Browse code

Rewrite Rules shouldn't start with a /

Sebastian Hahn authored on17/10/2010 00:02:11
Showing1 changed files
... ...
@@ -7,16 +7,16 @@ RewriteRule ^faq(.*) /docs/faq$1 [R=301,L]
7 7
 RewriteRule ^torbutton/design(.*) /torbutton/en/design$1 [R=301,L]
8 8
 
9 9
 # Tor Browser
10
-RewriteRule ^/torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
11
-RewriteRule ^/torbrowser(.*) /projects/torbrowser$1 [R=301,L]
10
+RewriteRule ^torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
11
+RewriteRule ^torbrowser(.*) /projects/torbrowser$1 [R=301,L]
12 12
 
13 13
 # Overview
14
-RewriteRule ^/overview(.*) /about/overview$1 [R=301,L]
14
+RewriteRule ^overview(.*) /about/overview$1 [R=301,L]
15 15
 
16 16
 # Vidalia
17
-RewriteRule ^/vidalia/dist/(.*) /dist/vidalia/$1 [R=301,L]
18
-RewriteRule ^/vidalia(.*) /projects/vidalia$1 [R=301,L]
17
+RewriteRule ^vidalia/dist/(.*) /dist/vidalia/$1 [R=301,L]
18
+RewriteRule ^vidalia(.*) /projects/vidalia$1 [R=301,L]
19 19
 
20 20
 # Press Page
21
-RewriteRule ^/press/ /press/press.html.en [R=301,L]
22
-RewriteRule ^/press/index.html(.*) /press/press.html$1 [R=301,L]
21
+RewriteRule ^press/ /press/press.html.en [R=301,L]
22
+RewriteRule ^press/index.html(.*) /press/press.html$1 [R=301,L]