Fixed so that static files are effected by the url prefix configuration setting as well.