Skip to content

Commit

Permalink
Merge pull request #993 from openjck/837942-redirect-ports
Browse files Browse the repository at this point in the history
Fix bug 837942: Redirect /ports to archive.
  • Loading branch information
pmac committed Jul 25, 2013
2 parents 021d7ee + f55296f commit 5b5b746
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/httpd/global.conf
Expand Up @@ -58,6 +58,10 @@ RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/webhero(.*)$ /firefox/ [L,R=301]
RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/backtoschool(/?)$ https://addons.mozilla.org/firefox/collections/mozilla/back-to-school/ [L,R=301]
RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/backtoschool/firstrun(/?)$ /firefox/firstrun/ [L,R=301]

# bug 837942
RewriteRule ^/ports/qtmozilla(?:/(?:index.html)?)?$ https://wiki.mozilla.org/Qt [L,R=301]
RewriteRule ^/ports(.*)$ http://www-archive.mozilla.org/ports$1 [L,R=301]

## Redirect things to django!

# bug 797192, 892470
Expand Down

0 comments on commit 5b5b746

Please sign in to comment.