Change the directory of web resouces