css and js files are now linked with absolute path. any illegal urls are rewritten and the start page is returned