I feel like this is a fairly simple fix and have seen similar problems when searching but haven't been able to fix it with those solutions. Basically the problem is I cannot access any subdirectories on my webserver. Going to localhost brings up the index fine. But going to localhost/test gives a 403 Forbidden error.
I'm running CentOS. I've tried editing the /etc/httpd/conf/httpd.conf file a couple of ways but have had no luck. The DocumentRoot is located at /var/www/html. Currently I have:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
I've tried adding the following:
<Directory "/var/www/html/test">
Order allow,deny
Allow from all
</Directory>
But it still gives me the 403 forbidden error.