corrected rails routing to account for apache proxy