After setting up a web server on my pi following the instructions here - http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server, everything goes fine except for when I view the web server. The test file loaded fine, but when I uploaded my own files via FTP they were not displayed in my browser, although it loaded the link. A blank page would just come up. After trying to create a new HTML file, Apache error 403 appeared on my screen.

(I installed VSFTP)

Any help with written ssh commands would be much appreciated. Thanks.

1 Answer 1


You need to change the permissions of the files you uploaded. Try using this command to make your files accessible:

sudo chmod 755 -R /var/www
  • 1
    To automate this you can use set group permissions on /val/www. Make sure that /var/www has group ownership by the web-server. Then chgrp -R web-owner /var/www && chmod -R g+s /var/www where web-owner is what ever it was before. Jun 10, 2014 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.