Forbidden error when chmodded 777 and chowned apache
This feels like something that should be so very, incredibly obvious, but I'm having trouble figuring it out.
I'm using the Apache installation included with Fedora Core 5 (as opposed to one from source, though I'm not sure how much it matters here). I have a directory with files in it (extracted from a .zip file -- it's from the SourceForge "amazoop" project if it helps any, just so we're on the same page), and when I extracted it to my server homepage directory (/var/www/html), under its own subdirectory(titled amazoop), the subdirectory and its files were unreadable by Apache. I tried making a new folder and moving the files into there (naming the old folder "snacks", which it still couldn't read, and naming the new directory "amazoop" again, but it just shows up as an empty folder and trying to read the files or subfolders results in a Forbidden error from Apache. I already tried:
chmod -R 777 amazoop
and
chown -R apache amazoop
...but, oddly, it still doesn't help. I'm fairly certain it's something weird with the files, since I remember having to chown them as my main user just to read them after chmod'ing 777 (though I just chown'd them back to root and could still read them as my main user, so maybe I'm just crazy; but I still can't view them through Apache), and I have to use su to chown them to apache even when I'm logged in as my regular user. Even when I do this, when I try to view anything in the directory, it still doesn't let me.
There's no .htaccess in the folder, either. I checked httpd.conf for anything unusual -- I didn't notice anything, but I'm still pretty new at this, so it's likely I could've missed something. Anyway, it gives me the feeling that this should be something incredibly simple and obvious, but I'm still missing it (again, I'm still new at this). I'd definitely appreciate any ideas of what to look at that might help.
P.S. - When I downloaded the .tar.gz version of amazoop and extracted it as my user, even I couldn't read them. I had to use su and delete them from the command line. It could be something with them rather than a generic Linux question, but seeing as the site doesn't mention anything about it in the documentation or the forums, I'm guessing this problem is unique to me.
|