0

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 09:59
  • @CélineAussourd How can I do that? –  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 –  Oct 13 '14 at 10:02
  • @CélineAussourd What this sequence `drwxr-xr-x` should represent in numbers? –  Oct 13 '14 at 10:03
  • @CélineAussourd I managed to do that, I changed the mod to 755, which is effectively represented by `drwxr-xr-x`, which means all permissions for the owner and just read and execute permissions for the groups and the rest of the world, right? Thank you! –  Oct 13 '14 at 10:05

1 Answers1

0

Check the permissions of the files.

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

Céline Aussourd
  • 600
  • 1
  • 5
  • 14