vendredi 8 mars 2019

403 Forbidden on site resources (js,png,css) but permissions are OK?

I have a strange problem with a website I am currently working on.

The server (apache2) gives me a 403 Forbidden error on some of my resources,notably the js and css files. I checked the permissions and they should be fine since I have put 777 to see if it was the permissions that were giving the error. Here's an example ll of one of the files that give the error.

-rwxrwxrwx 1 ftpuser webdevadmin 94083 Jun  5  2018 /home/ftpuser/site/BRG-LAB_Doubs/BRG-LAB_DOUBS_WEB/res/jquery.js*

And as you can see, the user running apache is the same as the owner of the file (ftpuser)

ftpuser  11408  0.0  0.1 1299340 10952 ?       Sl   06:25   0:07  \_ /usr/sbin/apache2 -k start

The website is at https://doubs.brg-lab.com/ Does anyone have an idea why the server refuses to serve the js and css files ?

Thanks




Aucun commentaire:

Enregistrer un commentaire