I would see it more like that in the webroot:
<IfModulemod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
You should have one in the app folder:
<IfModulemod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]...
I am not an expert in cakePhp but from my understanding you should have a redirection from the public dir to webroot and from webroot a rewrite rule to the app folder.
It's seems that you need to modify the .htaccess that you have on the "public_html" folder. Have you followed the instructions here: http://book.cakephp.org/3.0/en/installation.html ?
What is your .htaccess like ?
Hey!
What do you mean by it doesn't work?
Maybe people may need more info to help you troubleshoot!
I guess you need some configuration but first need to know where you are now. What kind of error do you get when trying to access your website ? Some firebug info would help !