Enabled apache rewrite for html5mode.