Images not showing

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Images not showing

Postby snick » 27. November 2007 13:12

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?
snick
 
Posts: 3
Joined: 27. November 2007 12:02

Postby Philc » 27. November 2007 21:09

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?
Philc
 
Posts: 6
Joined: 27. November 2007 20:49

Postby snick » 28. November 2007 13:45

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?
snick
 
Posts: 3
Joined: 27. November 2007 12:02

Postby Wiedmann » 28. November 2007 14:02

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

First of all:
Apache error_log
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby snick » 28. November 2007 15:06

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)
snick
 
Posts: 3
Joined: 27. November 2007 12:02


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests