Page 1 of 1

Images not showing

PostPosted: 27. November 2007 13:12
by snick
Hello

I've installed XAMPP (obviously) .. and the images aren't showing. I went to the faq section, and tried what they said.. or was going to.

But it was already set to what they said.. so i even tried putting # in front.. even tried changing "off" to "on"

Code: Select all
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
EnableMMAP off
EnableSendfile off


That's how it was; when i first looked at it.
Images still don't show

Any ideas?

PostPosted: 27. November 2007 21:09
by Philc
If you right click on the space where the image should be, and select properties (may differ in your browser), does the location make sense?

does the user that xampp runs as have read access to those files?

stupid question, but is your browser set to show images?

PostPosted: 28. November 2007 13:45
by snick
Yea my browser is set to show images; And yes they have access to read the files;;

For example; I've changed the root directory... it was...

/opt/lampp/htdocs

and i changed both of them in the apache config to

/home/ty/wb

And still the same results.

As far as read access; what is a good way to determine that?

PostPosted: 28. November 2007 14:02
by Wiedmann
As far as read access; what is a good way to determine that?

First of all:
Apache error_log

PostPosted: 28. November 2007 15:06
by snick
I see now.

Code: Select all
[Tue Nov 27 10:12:05 2007] [notice] Apache/2.2.2 (Unix) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b PHP/5.1.4 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
[Tue Nov 27 10:12:13 2007] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /opt/lampp/htdocs/wb/default.css, referer: http://127.0.0.1:1337/
[Tue Nov 27 10:12:15 2007] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /opt/lampp/htdocs/wb/default.css, referer: http://127.0.0.1:1337/
[Tue Nov 27 10:12:16 2007] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /opt/lampp/htdocs/wb/default.css, referer: http://127.0.0.1:1337/
[Tue Nov 27 10:12:33 2007] [error] [client 192.168.1.46] (13)Permission denied: file permissions deny server access: /opt/lampp/htdocs/wb/default.css, referer: http://192.168.1.46:1337/
[Tue Nov 27 10:12:33 2007] [error] [client 192.168.1.46] File does not exist: /opt/lampp/htdocs/wb/favicon.ico


How to fix that? (I have an idea, but it's good to just ask lol)