Example: open file /etc/httpd/conf.d/http.conf
In the Directory block:
Now is:
<Directory /var/www/html/> Options -Indexes Require all granted </Directory>
Change to:
<Directory /var/www/html/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Now restart service httpd
server httpd restart
Done!