I'm having an issue with using XAMPP and the ability to use an includes folder in php etc. I'm learning how to use a single point access for my php files, by that I mean, you put only an index.php in the main folder to be accessed and it is it use classes that are located in the Includes folder outside the public_php folder.
Here is the current config inside the httpd.conf (located in the apache2 folder)
Here is the current config :
Alias /bitnami/ "/Applications/XAMPP/xamppfiles/apache2/htdocs/"
Alias /bitnami "/Applications/XAMPP/xamppfiles/apache2/htdocs"
<Directory "/Applications/XAMPP/xamppfiles/apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.php
</Directory>
Here is a screenshot of my file structure, is someone able to help me on how to use the DirectoryIndex setting so that my program is able to just use the require_once 'bla/bla.php';
Thanks for any contribution given.