05-08-2004, 11:04 AM | #1 (permalink) |
I am not permanent.
Location: Tennessee
|
Alright, for anyone who knows anything about Apache...
Hey all, It's time for another one of glitch's (probably obvious) questions.
I set up an old computer running RH9 (I had it laying around, and thought "why not?"). I've configured it to handle ssh, ftp, and httpd for now. I know this works because others can connect and see my default webpage. They can see the page just fine if I do anything simple ("server test", a simple php line, etc), but when I try to import pages I've done in the past, I get an Error 403, access denied, or unreadable by the server message. I doubt it's access problems, so my question is, why would Apache not be able to read this file? Do I need some sort of module or something? Any info would be greatly appreciated, and thanks in advance.
__________________
If you're flammable and have legs, you are never blocking a fire exit. - Mitch Hedberg |
05-08-2004, 11:08 AM | #2 (permalink) |
Junkie
Location: San Jose, CA
|
probably ownership issues.
check the ownership of the small files you created: ls -l * note the ownership of those files against the ones that aren't working. use chown to change the ownership. Usually, you want apache files to be owned by the "www" group. chown yourname:www * |
05-08-2004, 11:10 AM | #3 (permalink) |
Thats MR. Muffin Face now
Location: Everywhere work sends me
|
apache should have access, check chown and chmod.. make sure root doesnt own the file, and make sure the file isnt locked down
__________________
"Life is possible only with illusions. And so, the question for the science of mental health must become an absolutely new and revolutionary one, yet one that reflects the essence of the human condition: On what level of illusion does one live?" -- Ernest Becker, The Denial of Death |
05-08-2004, 01:54 PM | #4 (permalink) |
I am not permanent.
Location: Tennessee
|
Wow, you guys are great. I didn't even think about that, thanks a ton.
Quick question: Would it be okay to make apache the owner of the files? (the apache user, I mean.)
__________________
If you're flammable and have legs, you are never blocking a fire exit. - Mitch Hedberg |
05-08-2004, 10:00 PM | #5 (permalink) | |
Irresponsible
|
Re: Alright, for anyone who knows anything about Apache...
Quote:
__________________
I am Jack's signature. |
|
05-08-2004, 11:45 PM | #6 (permalink) | |
Junkie
Location: San Jose, CA
|
Quote:
In apache 2 the group is "www-data". The apache user may have permission to execute certain files, so it's best not to make stuff in your document root owned by that user. |
|
Tags |
alright, apache |
|
|