Re: apache woes forbidden strange

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

 



Dan wrote:
FYI.  I disabled SElinux and rebooted. "Ahhh good old windows way"
For whatever reason the file is not visible in apache, so either the reboot fixed it, or the disabling of selinux.

It was SELinux.

Your security context type wasn't right, so do this:

chcon -R -t httpd_sys_content_t /yum

That will set the correct type for all files in /yum. As John suggested, you should also "fix" the ownership and permissions:

chown -R root:root /yum
find /yum -type d -exec chmod 755 {} \;
find /yum -type f -exec chmod 644 {} \;


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux