l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Jun 14 14:31

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] selinux woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] selinux woes

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.



--- Cylar Z <cylarz@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@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 
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.