Stanford-Online/class2go — pull request #1822 by sefk (2013-01-12 01:17:14+00:00)
Title: Apache redirects to handle db-class.com and db-class.org (#1817)

Testing

- on staging, set up redirects and they worked. Since DB there is old, actually had them redir to prod.
- tested on both app and util servers
- on dev, where redirectors aren't needed, worked fine

The production env file is already set up with this stanza in the environment file:

"redirects" => {
"dbclassorg" => {
"from" => "db-class.org",
"to" => "class2go.stanford.edu/db"
},
"dbclasscom" => {
"from" => "db-class.com",
"to" => "class2go.stanford.edu/db"
},
},