[vox-tech] selinux woes

Jan W jcwynholds at yahoo.com
Wed Jun 14 11:53:18 PDT 2006


Hi Z:

Check the logs.

The /var/log/messages should have entries about selinux applying its
policy (if selinux is the problem).

Also, check the apache logs (/var/log/httpd by default).

The logs should give you an idea if it's standard unix permissions or
the selinux policy.  If the user that apache runs as (check your
httpd.conf) does not have permission to read a directory, or a file in
a directory, it sends 403 forbidden.

If there is something confusing or weird in the logs, post them (with
hostnames/ip addy's XXXX'd out, of course).

The (meaningful and helpful) logs in *nix are alot of the reason why I
switched in the first place.

--HTHO

jan

--- Cylar Z <cylarz at yahoo.com> wrote:

> Hey all,
> 
> For the two people on Earth who don't yet know it, I'm
> running Fedora Core 5 from Redhat. You probably also
> know that this comes equipped with SE Linux, which
> I've left on for, well, enhanced security.
> 
> I'm hosting a website on the system and want to post
> some pictures as part of the site. I'm coding my HTML
> manually 
> and am calling my images with a standard <IMG
> SRC="mypic.jpg"> tag. Trouble is, when I point my
> browser to the server's webpage and try to view the
> images, I get "broken gif" images. If I try posting a
> link to the image with <A HREF blah blah </A> instead,
> I get "403 forbidden" when I click on the link.
> 
> I've never had this problem before I switched to using
> later versions of FC that have SE Linux installed, so
> I've reason to suspect it's the problem. Any ideas?
> 
> Matt
> 
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
"The most potent weapon in the hands of the oppressor is the 
mind of the oppressed."
-- Steven Biko
("White Racism and Black Consciousness", in I Write What I Like)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the vox-tech mailing list