My pages worked on xampp in windows so files are fine. Everything shows up on my linux installation except for images. However, the xampp test page comes out fine. The images show up as the alt text. Right clicking and viewing image info gets the right image path but viewing the image directly gives me 404. My xampp folder has 777 permissions. EnableMMAP and EnableSendfile are off and uncommented by default in my httpd.comf file.
errorlog excerpt:
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/default.css
[Sun Dec 19 11:29:48 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:33:27 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
The filepath is not complete for some reason. Instead of /opt/lampp/htdocs/sexysexysex/images/picture.jpg it cuts off. When I deleted "/" in my php file the error log shows /opt/lampp/htdocs/sexysexysex/imagespicture.jpg. So it's not seeing the subdirectory. However, my php includes can see and use the template files stored in the template subdirectory.
.
.
.