Webserver Image Displaying

Hello everyone,

I am an intern programmer at the age of 17, doing an educational unpaid full time internship where I have to work for 70 or so hours. While at my internship, I was introduced to the beagle bone black as my main project while interning here at the science and engineering firm. My project is to re-create a silver light web-server, but with the beagle bone black in a non windows version that could be used more efficiently.

My issue currently, is displaying images on my web server that is currently being hosted by my Beagle Bone Black. I am using lighttpd, and for my web server I basically followed the beginning of this guide following the Setup step http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/11/20/beaglebone-web-server–setup . Anyways, I have a web server hosted, and one of my next goals is to try and display simple images onto the web server, but so far no hope.

I have the web server recognizing images are trying to be displayed, but the error for the images is: 404 not found. I am very new, so I am still very clueless as to what I should do in going about further with the issue I am having…

I used the text editor and code just like this with my putty.

vi /www/pages/test.php

Then in the text editor:


Test <?php print("Connection Test."); ?> <?php echo ""; ?> `

I’d love to hear your feedback on my issue, I so far am really enjoying the Beagle Bone Black, and want to learn more about it, but after countless searches I still can’t seem to figure out what it is that I am doing wrong here.