Hello,
my static blog is hosted there: https://jibecfed.fedorapeople.org/blog-hugo/fr/ but javascript files gets 403 errors:
Example:
URL de la requête :https://jibecfed.fedorapeople.org/blog-hugo/js/slim.js Méthode de la requête :GET Adresse distante :152.19.134.199:443 Code d’état : 403 Version :HTTP/1.1 Politique de référent :no-referrer-when-downgrade
When I connect with ssh, the file is there:
[jibecfed@people02 js][PROD]$ pwd /home/fedora/jibecfed/public_html/blog-hugo/js [jibecfed@people02 js][PROD]$ ls -lah total 44K drwx------. 2 jibecfed jibecfed 43 11 juil. 2017 . drwxrwxr-x. 12 jibecfed jibecfed 4,0K 4 oct. 17:32 .. -rw-rw-r--. 1 jibecfed jibecfed 36K 11 juil. 2017 highlight.min.js -rw-rw-r--. 1 jibecfed jibecfed 120 11 juil. 2017 slim.js
I don't remember any similar issues in the past, did something change or did I do something wrong?
Thanks a lot for your help!
The problem is permissions. The web server runs as the 'nobody' user, so anything it serves needs to be readable.
So: chmod 755 js css
should fix it.
:fire_engine:
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
it works thank you :) have been following the same process for several months now, I assume something changed, but whatever, it works :sparkles:
Login to comment on this ticket.