Re: Apache can't use directory not in root partition?
- From: "Roger N. Clark (change username to rnclark)" <username@xxxxxxxxx>
- Date: Sat, 31 Dec 2005 17:19:43 -0700
R.F. Pels wrote:
Roger N. Clark (change username to rnclark) wrote:
the same: rwxr-xr-xYes, OK, but what are the permissions on /home/smith?
Hmmm. Did you restart apache after you modified the configuration files?
Yes, after each mod and test. I even rebooted a couple of times.
But now it gets more weird. I tarred the website from /a/www/html to /var/www/html and here is what happens:
-rw-r--r-- Dec 26 13:37 index.html gives error: Forbidden
Any rules re index.html?
No.
What's the output of the error log?
example (x.x.x.x is the ip number--I'd rather not give that out yet as the machine is not yet configured): [Sat Dec 31 17:14:08 2005] [error] [client x.x.x.x] (13)Permission denied: access to /index.html denied
When I change to index.test2.html, the text loads (the exact
copy of index.html, but all the icons fail with:
with errors like:
[Sat Dec 31 17:15:56 2005] [error] [client x.x.x.x]
(13)Permission denied: access to /a-icons/c073093_01_26-400a.jpg denied
cp index.html index.test2.html
-rw-r--r-- Dec 31 14:35 index.test2.html now is accessible!
Owner? Weird...
I've changed it to apache, group apache and same thing.
I also copied the httpd.conf file from the old machine to the new one and just changed the directory to /var/www/html but no change in results. It seems like this may be a system thing, not an apache thing?
Roger .
- Follow-Ups:
- Re: Apache can't use directory not in root partition?
- From: R.F. Pels
- Re: Apache can't use directory not in root partition?
- References:
- Re: Apache can't use directory not in root partition?
- From: Roger N. Clark (change username to rnclark)
- Re: Apache can't use directory not in root partition?
- From: R.F. Pels
- Re: Apache can't use directory not in root partition?
- Prev by Date: Re: Apache can't use directory not in root partition?
- Next by Date: Re: Apache can't use directory not in root partition?
- Previous by thread: Re: Apache can't use directory not in root partition?
- Next by thread: Re: Apache can't use directory not in root partition?
- Index(es):