Re: Include directive in httpd.conf giving a Permission denied error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William A. Rowe, Jr. wrote:
Laura Speck wrote:
Thanks for the help - SELinux is enabled. Temporarily disabling it did fix the problem, but I would like to keep it enabled. I am headed to find an SELinux list, thank you :)

In 5 years they've failed to participate with httpd in addressing such
issues ... If you discover anything useful please do feel free to bring
it back to dev@httpd to be addressed :-)

I didn't get as far as asking on a list, because I decided to try and figure it out myself..

What I did work out is that the SElinux "permissions" (or whatever you want to call them?) on the httpd.conf file were set with the type "httpd_config_t", whereas everything in the home directories is set with the type "user_home_dir_t"

I found this link: http://docs.fedoraproject.org/selinux-apache-fc3/sn-user-homedir.html

That link mentions changing the type of users' public_html dirs so that httpd can access them. So I ended up changing the type of the httpd.virts file to be the same as httpd.conf ("httpd_config_t"). It works, I still have SElinux enabled (which is what I wanted). I am not sure that this was the right way to do it, but it works and as far as I can tell, is secure :)

Laura

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux