I am fairly new to the world of Ubuntu and apache2. And I've become a little confused of the directories and some other stuff.
I have read that the default web directory is
/var/www/
. I have my project in/home/user/project
. Is that wrong?Also I've actually gotten my project to work, a Django website, but right after I got the SSL-certification, it stopped working. I have tried to change the document root to the path where my project is, in every file. (
apache2.conf
,website.conf
,website-le-ssl.conf
). Can someone tell how I can get my site to work? NOTE: I am greeted with the page: 403 Forbidden: You don't have permission to access this resource.I have tried some different configurations regarding my files (Mentioned above), and i have also been greeted by the: index of
/
page.
I really have no idea what to do now. I have searched on google, and the various forum, but nothing that i have tried works for me.