Configure static and media root