jquery on localhost
- by ace
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
but when i use this link, then it doesnt work anymore : http://localhost/jquery/jquery.html
the file jquery.min.js is in the same folder
and i already changed the src of it in source code to
<script type="text/javascript" src="/var/www/jquery/jquery.min.js"></script>
<script type="text/javascript" src="jquery.min.js"></script>
but none of them works (with localhost link)
using firebug I saw these errors:
The requested URL /var/www/jquery/jquery.min.js was not found on this server.
You don't have permission to access /jquery/jquery.min.js
on this server.
Apache/2.2.12 (Ubuntu) Server at localhost Port 80
so what do I have to do to make it run?