What is a webroot in cakephp


I am new to cakephp and i want to know why we use the webroot and how does the first page of cakephp redirect to the default_layout file


Read Cakephp Documentation, first part and go through tutorials (it is explained clik by click). I am sure that you will handle it and find out how it works! Good luck!