title: Java Script not working. Using php based MVC
body: <p>I have a small problem.<br>
  In my website I have two htaccess files. </p>
  
  <p>htaccess (this is in root directory)  </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteRule    ^$    public/    [L]
  RewriteRule    (.*) public/$1    [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>This is in public directory where I have "graphics" directory.
  htaccess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>My directory structure is something like this:</p>
  
  <pre><code>root/public/js/abc.js 
  root/application/controller/abccontroller.php  
  root/application/model/abc.php  
  root/application/abc.view  
  </code></pre>
  
  <p>Java Script is not working</p>