Changed Rack::Request#url to env['PATH_INFO']
The relative URL seems to be required, not the full URL.