HTTPD Service problem

Hello everyone…

I use Fedora HTTPD Service.
I never can open JS and CSS Files! (403 Forbidden Error) (in php files, in url…)
how can I give access them files?

Did you see this:

2 Likes

It’s probably either a filesystem permissions problem or selinux issue. Can you run the following command and paste the output:

ls -ldZ /path/to/webfiles

after replacing /path/to/webfiles with the actual location on disk where the files that give you an error are placed.

Try restoring the default SELinux security contexts on your files:

restorecon -r /path/to/webfiles
1 Like