[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r23619: {website} Rewrite Rules shouldn't start with a / (website/trunk)



Author: sebastian
Date: 2010-10-16 22:02:11 +0000 (Sat, 16 Oct 2010)
New Revision: 23619

Modified:
   website/trunk/.htaccess
Log:
Rewrite Rules shouldn't start with a /

Modified: website/trunk/.htaccess
===================================================================
--- website/trunk/.htaccess	2010-10-16 21:59:41 UTC (rev 23618)
+++ website/trunk/.htaccess	2010-10-16 22:02:11 UTC (rev 23619)
@@ -7,16 +7,16 @@
 RewriteRule ^torbutton/design(.*) /torbutton/en/design$1 [R=301,L]
 
 # Tor Browser
-RewriteRule ^/torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
-RewriteRule ^/torbrowser(.*) /projects/torbrowser$1 [R=301,L]
+RewriteRule ^torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
+RewriteRule ^torbrowser(.*) /projects/torbrowser$1 [R=301,L]
 
 # Overview
-RewriteRule ^/overview(.*) /about/overview$1 [R=301,L]
+RewriteRule ^overview(.*) /about/overview$1 [R=301,L]
 
 # Vidalia
-RewriteRule ^/vidalia/dist/(.*) /dist/vidalia/$1 [R=301,L]
-RewriteRule ^/vidalia(.*) /projects/vidalia$1 [R=301,L]
+RewriteRule ^vidalia/dist/(.*) /dist/vidalia/$1 [R=301,L]
+RewriteRule ^vidalia(.*) /projects/vidalia$1 [R=301,L]
 
 # Press Page
-RewriteRule ^/press/ /press/press.html.en [R=301,L]
-RewriteRule ^/press/index.html(.*) /press/press.html$1 [R=301,L]
+RewriteRule ^press/ /press/press.html.en [R=301,L]
+RewriteRule ^press/index.html(.*) /press/press.html$1 [R=301,L]