The issue was with SELinux. "ls -Z" shows the differences. To fix it, I had to use the following command:
chcon -R -h -t httpd_sys_content_t <directory>
Since you installed XAMPP, I'm guessing you're using Windows? If I remember correctly, it puts it somewhere in the C:\Program Files\XAMPP directory (or similar). Just browse there and hit F3 to search for it.
If you're on linux, it probably put it somewhere like /etc/httpd/conf/httpd.conf
To help clarify the situation a bit more, here's an example of a forbidden directory, and one that is not.
This directory was extracted from a tar file and results in a forbidden:
[admin@dpserverscom script3]$ ls -al
total 228
drwxrwxr-x 2 admin admin 4096 Apr 28 23:41 .
drwxr-xr-x 7 admin...
I can't make any sense of this. I just set up a new server and configured it like my old one (which worked perfectly). Whenever I download and extract something to /var/www/html (phpMyAdmin, for example), I get a 403 forbidden to it, even though it has the same permissions and owner as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.