For example http://example.com/ is my domain and when I visit this, it will show cakephp framework home page with five green messages.
I have to type http://example.com/index.php/public/index to get to my project's home page
What should I do to get my project running on my domain's main url http://example.com/
I am using CakePHP 2.7.1
Thanks in advance
You can define a route in routes.php in Config Folder like this
Router::connect('/', array('controller' => 'public', 'action' => 'index'));
This will redirect your main url to the desired controller