Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug 821006: add /b/ redirect for firefox/all/.

Also fix expires header override for tabzilla.js.
Bug 827373.
  • Loading branch information...
commit 14edbaa373b4d9bde4c80c6d681edac31b11c8f7 1 parent 0e298e0
@pmclanahan pmclanahan authored
Showing with 5 additions and 4 deletions.
  1. +0 −3  etc/httpd/dev.conf
  2. +5 −1 etc/httpd/global.conf
View
3  etc/httpd/dev.conf
@@ -1,3 +0,0 @@
-# bug 821006
-RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/all(\.html)?$ /$1firefox/all/ [L,R=301]
-RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/all/$ /b/$1firefox/all/ [PT]
View
6 etc/httpd/global.conf
@@ -2,11 +2,15 @@ ExpiresActive on
# bug 827373
<Location /*/tabzilla/tabzilla.js>
- ExpiresDefault "access plus 12 hours"
+ ExpiresByType text/javascript "access plus 12 hours"
</Location>
## Redirect things to django!
+# bug 821006
+RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/all(\.html)?$ /$1firefox/all/ [L,R=301]
+RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/all/$ /b/$1firefox/all/ [PT]
+
# bug 803345
RewriteRule ^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?apps(.*)$ /b/$1apps$2 [PT]
Please sign in to comment.
Something went wrong with that request. Please try again.