Hi,
I've got rid of the below lines in my apache configuration file in order to prevent an error I was getting.
I know for sure this is not a best practice so how can I avoid this issue?
here's what I was getting in the logs when I had the <Directory /> stuff in my config..
AH01630: client denied by server configuration: /home/mywebsite/public_html/index.php
Lines I removed:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>