I am trying to create a website in the latest version of Fedora Linux. I want the website to point to something in my home directory. After doing some Googling, I can acheive this with a SymLink. The problem I'm having is that I'm receiving a "Forbidden" Message
I do NOT have an Apache config file for some reason. But I read that I was supposed to configure the httpd.conf equivalent. So without further ado, here is my https.config file in addition to my .htaccess. I can't get the quote tag to work so you'll just have to read it in normal text on pastebin.
I created the symlink
sudo ln -s /home/archive /var/www/html/
Once I have configured the files, I changed permissions on the directories
sudo chmod -R 777 /home/archive sudo chown -R archive:archive /home/archive
and restarted httpd
sudo systemctl restart httpd
It didn't work. It has every reason to work and I followed all the instructions, yet it failed. So I decided to play around with it. I noticed that the symlink works if it points to a directory WITHIN the webroot. But it only fails when pointing to a directory outside of it.
So the symlinks themselves work, it's just something to do with permissions either in the config file or the filesystem. The above steps should have taken care of that so I don't know what else to do.
Oh, and just for fun I tried
sudo chown -R apache:apache /home/archive sudo systemctl restart httpd
That didn't work either