I have just installed Kali Linux 2024.4. Until now i have used Linux Minut Cinnamon, and it was working. And i want to change in Kali Linux root directory from var/www/ myName/home/www/. The Apache2 needs to run my Projects from my new Directory on localhost, but i get an Error.
`Forbidden You don’t have permission to access this resource.
Apache/2.4.62 (Debian) Server at localhost Port 80`
Once you have created your chosen www root folder location, you will need to give read write permissions on the folder for apache to be able to use it;
I would be very wary of this plan. /var/www exists for a reason, and chmod 777’ing your home folder is a great way for unintended consequences or severe issues to happen.