PUBLIC HTML ROOT FOLDER HTACCESS CODE
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} /verify
RewriteCond %{REQUEST_URI} !(checkacheck/verify)
RewriteRule /verify - [F,L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
IN WHICH FOLDER WANTS TO ALLOW HTACCESS CODE
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>