|
Posted by Martin Adams on 07/22/07 02:08
Thanks for the info. I think the problem was a little more complex as I had
all the permissions correct. I think I've fixed it though using this web
page as a reference:
http://docs.fedoraproject.org/selinux-apache-fc3/sn-simple-setup.html
For what I can tell, there is a command called chcon that I could run to
relabel the directories and files (something new to me). After running
chcon -R -h -t httpd_sys_content_t /web it seems to have fixed it.
Hopefully that's all I need to do.
Thanks,
Martin
"J.O. Aho" <user@example.net> wrote in message
news:5geur1F33djufU1@mid.individual.net...
> Martin Adams wrote:
>> hmm, seems to work if I have my Apache DocumentRoot pointing to
>> /var/www/html instead of my /web directory.
>>
>> Well, I'm still confused why that would make a difference.
>
> Check that you really has access to the directory in question
>
> ls -l /
>
> The directory must have 'x' set for apache to be able to read from it.
> If you want to make it "useble" by all, try with
>
> chmom 1777 /web
>
> and lastly, check your apache config, do you use vhost, then you need to
> chnge
> the DocumentRoot in the right place, also see to not have more than one
> DocumentRoot for each vhost and for the default host and don't forget to
> restart the apache after you made changes in the config.
>
>
> --
>
> //Aho
Navigation:
[Reply to this message]
|