I am new to Ubuntu and recently I installed xampp 1.8.1 on my Ubuntu 12.10. My problem is that image from server can not be shown. My code is
<div class="sideBlock unSung">
<h4>Unsung heroes...</h4>
<a href="#"> <img src="_images/1_full.jpg" alt="Midnight Run" width="99" height="135" /> </a>
<a href="#"><img src="_images/2d7y3ki.jpg" alt="Wyatt Earp" width="99" height="135" /></a>
</div>
Here, in my address bar I use
http://localhost/madeTemplet/basicTemplet/templet03.html
and I want to show image after 'Unsung heroes' text but it only shows some link and no image.
But when I use the following
file:///opt/lampp/htdocs/madeTemplet/basicTemplet/templet03.html
images are shown after 'Unsung heroes' text.
It works well on Windows platform.
As a new user, I have very little knowledge about file permissions, chmod
, chown
etc. I use ls -l
in my terminal window in /opt/lampp/htdocs/madeTemplet/basicTemplet/_images
directory, and I see this:
sabbir@sabbir-pc:/opt/lampp/htdocs/madeTemplet/basicTemplet/_images$ ls -l
total 300
-rw------- 1 sabbir sabbir 204067 Feb 24 2010 1_full.jpg
-rw------- 1 sabbir sabbir 75789 Nov 13 2009 2d7y3ki.jpg
-rw------- 1 sabbir sabbir 23692 Apr 21 2010 6AB32AE44600435B9DE0FB5EBA24A912.gif
I also go to
/opt/lampp/etc/httpd.config
to find EnableMMAP off
and EnableSendfile off
which is already #
off.
How to solve this problem?