I have installed Apache, PHP5, and MySQL on my new Linux Lite install for my laptop. I have edited <Directory />
in apache2.conf
to look like this:
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
And I have added a new <Directory>
tag to point to where I have my files.
<Directory ~/Projects/hcr/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
I have also changed the DocumentRoot
in sites-available/000-default.conf
to look this: DocumentRoot ~/Projects/hcr
After doing that and restarting Apache, the previous error I was having, which was 403, goes away, but now I get 404 Not Found
when there is an index.php file located in the directory.