Sunday, March 27, 2016

linux : fedora 22 : apache : error 403 for some images

I've been wondering, on and off, on why SOME of the images on my web server results to error 403 Forbidden. Change your SElinux context setting, then you should be fine.

# chcon -Rht httpd_sys_content_t <image directory>


ps. read this: https://wiki.centos.org/HowTos/SELinux/

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...