title: jquery on localhost
body: <p>I am using Linuxmint (= ubuntu linux 9.10)
  I installed LAmp server which have apache,php mysql
  and now i am trying to write jquery code
  i made a file and it worked perfectly with this link :  file:///var/www/jquery/jquery.html<br>
  but when i use this link, then it doesnt work anymore : <a href="http://localhost/jquery/jquery.html" rel="nofollow noreferrer">http://localhost/jquery/jquery.html</a></p>
  
  <p>the file jquery.min.js is in the same folder
  and i already changed the src of it in source code to</p>
  
  <ol>
  <li><code>&lt;script type="text/javascript" src="/var/www/jquery/jquery.min.js"&gt;&lt;/script&gt;</code></li>
  <li><code>&lt;script type="text/javascript" src="jquery.min.js"&gt;&lt;/script&gt;</code></li>
  </ol>
  
  <p>but none of them works (with localhost link)
  using firebug I saw these errors:</p>
  
  <ol>
  <li>The requested URL /var/www/jquery/jquery.min.js was not found on this server.</li>
  <li>You don't have permission to access /jquery/jquery.min.js
  on this server.</li>
  </ol>
  
  <p>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</p>
  
  <p>so what do I have to do to make it run?</p>