[vox-tech] re: selinux woes (Apache issue?)

Micah J. Cowan micah at cowan.name
Fri Jun 23 00:43:59 PDT 2006


On Thu, Jun 22, 2006 at 11:17:19PM -0700, Cylar Z wrote:
> [Thu Jun 22 01:12:57 2006] [error] [client
> 71.XXX.XXX.XXX] (13)Permission denied: access to
> /images/picture012.jpg denied, referer:
> http://www.<mydomain.com>/parentdocument.html
> 
> [Thu Jun 22 01:18:15 2006] [error] [client
> 71.XXX.XXX.XXX] File does not exist:
> /var/www/html/<mydomain.com>/images/ranch_trip_032,
> referer: http://www.<mydomain.com>/images/images.html
> 
> Doesn't exist? This is a joke, right?
> 
> [Thu Jun 22 01:19:24 2006] [error] [client
> 71.XXX.XXX.XXX] (13)Permission denied: access to
> /images/ranch_trip_032.jpg denied, referer:
> http://www.<mydomain.com>/images/images.html
> 
> Interesting...first it doesn't exist, now it does
> exist but permission is denied.

First it doesn't exist... but if you look carefully, what it claims not
to exist is actually a different file than the one whose access is
denied: ranch_trip_032 vs ranch_trip_032.jpg.

...you might try su-ing to nobody (or whoever httpd runs as) from within
the document root, and trying to navigate the directories and read the
appropriate files...

If Mr. nobody can read the files you want, then maybe post any
ACL-related portions of your httpd.conf, and any other portions that
might conceivably be relevant?

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/


More information about the vox-tech mailing list