Fix bug 821006: add /b/ redirect for firefox/all/.
Also fix expires header override for tabzilla.js. Bug 827373.
This commit is contained in:
Родитель
0e298e0be7
Коммит
14edbaa373
|
@ -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]
|
|
@ -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]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче