[Cialug] permissions
Josh More
cialug@cialug.org
Thu, 21 Apr 2005 10:52:09 -0500
On Thu, 2005-04-21 at 10:47 -0500, n00b wrote:
> yea. i'm lost in permissions hell.
>
> don't know why but i keep getting 403 forbidden errors on files that have
> the exact same permissions as a file that doesn't get the same error and
> they are in the same folder. (this is with Apache/2.0.52 mind you). its
> really a weird situation. any ideas what i may be overlooking.
There are a number of things that could be going on. My first suspicion
is caching. Make absolutely certain that you are actually hitting the
server when doing your test.
1) Check the logs to make sure that your connections work
2) Use w3m, links, or lynx that tend not to cache without telling you
3) Check that you are not running through squid or some other sort of
proxy
4) Use 'telnet ip:80' 'GET /PATH/TO/FILE.ext'
If that checks out, then make sure that the files are getting parsed the
same way. Bear in mind that you can do fun renaming in apache and allow
special handlers based on file masks. If one file is *.html and another
is *.htm, that could be the issue right there. You can verify renaming
issues with the text mode tools mentioned in 2) and 4), or you can use
firefox extensions to help. As I rely on text tools, I will let someone
more familiar with the extensions help you trace from that end.
--
-Josh More, RHCE, CISSP
morej@alliancetechnologies.net
515-245-7701