I have copied all the files related to the website to the server using scp, but the only css file that I loaded inside css folder on the server is not loaded by the html files. I have checked the path to the stylesheet file in the html files, but it's the same as on local, so it should work. The same problem for images, but not for JavaScript files. What could be the problem?

  • 1
    Did you check the permissions? – Céline Aussourd Oct 13 '14 at 9:59
  • @CélineAussourd How can I do that? – user236846 Oct 13 '14 at 10:00
  • you can use ls -l and check the owner of the files – Céline Aussourd Oct 13 '14 at 10:01
  • @CélineAussourd In fact, the images and the css folder have different permissons – user236846 Oct 13 '14 at 10:02
  • @CélineAussourd What this sequence drwxr-xr-x should represent in numbers? – user236846 Oct 13 '14 at 10:03

Check the permissions of the files.

You can use the command ls -l to check the files permission and files owner.