403 Forbidden Error when accessing any file or path

25 Views Asked by At

I know there are so many answers to this error, but none of it works. In XAMPP Windows Version 8.2.12 I tried to make a form with HTML, CSS, and PHP. I wanted to do that locally so I installed PHP, XAMPP, and MariaDB (Side note, MariaDB is not yet configured). My Error is so weird that I didn't find any solution to it. Any solution to that error is the same. ChatGPT has 0 clue. If I access any file through localhost:80/ it will ALWAYS give me the error 403 Access forbidden. Even when accessing a file that doesn't even exist on my PC. Error logs? Nothing. Doesn't show a single error that could lead to the problem. The 3 only files that work are the dashboard, phpMyAdmin, and phpinfo.

Already tried to configure a vHost. Edited the httpd.conf and gave the server every right to access any file and path in my project folder. Tried to put my Project file into the htdocs folder. Looked up any possible Stackoverflow question with the same error.

Please help I'm gettin' frustrated.

0

There are 0 best solutions below