Fixed base url redirect in http application

Signed-off-by: Tom Wright <tom@inflatablecookie.com>