If you see first page is broken. Then add below content to htaccess file.
- Check the mode of selinux, if it is enforcing make it to permissive or disable the selinux mode
- To check the selinux mode:-
Command: getenforce
- To change the selinux mode:-
Command:- setenforce 0(permissive) / setenforce 1(enforcing)
- Also disable the firewalld service
Command:- service firewalld stop
- Open this file and edit vim /etc/httpd/conf/httpd.conf
Add this below file ( AllowOverride All instead of AllowOverride None)
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
- Save the file and restart the Apache service.
service httpd restart