I have a drupal 8 site that has a folder (/learning/sales) in it that is custom html/php/etc. In there I make an ajax call from one .html file to a .php file in another folder (from /learning/sales to /learning/sales/ajax/getAreas.php) when I try to run it it fails (403 error), and when I try to go directly to my php file to check to see if it works I get this error, "Forbidden You don't have permission to access /learning/sales/ajax/getAreas.php on this server."
I think the solution to this is to edit my .htaccess file to allow access to those folders, however I don't really know how to do that.
Am I correct in my thoughts that it is the .htaccess file that needs to be fixed? and if so what do I need to do to get it to work? And if not then what could be the problem?
P.S. Here is my .htaccess code for reference.