title: Cakephp configuration of all the htaccess file
body: <p>I have a cake php app at "<a href="http://sakibshamim.com/DhakaGate/" rel="nofollow">http://sakibshamim.com/DhakaGate/</a>" directory. But it is showing 404 error with "The requested URL /app/webroot/ was not found on this server".</p>
  
  <p>I have configured 3 .htaccess file at "DhakaGate" folder, "DhakaGate/app" folder and "DhakaGate/app/webroot" folder.</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteBase /
  RewriteRule    ^$ app/webroot/    [L]
  RewriteRule    (.*) app/webroot/$1 [L]
  &lt;/IfModule&gt;
  
  
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteBase /app/
  RewriteRule    ^$    webroot/    [L]
  RewriteRule    (.*) webroot/$1    [L]
  &lt;/IfModule&gt;
  
  
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /app/webroot
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Can anyone help me to solve the problem please?</p>