xxxxxxxxxx
1. Get the path of running Apache
ps -ef | grep apache
Append -V argument to the path
/usr/sbin/apache2 -V | grep SERVER_CONFIG_FILE
2. Naviagte to apache2.conf
vi /etc/apache2/apache2.conf
3. Update the file Replace "AllowOverride None" to "AllowOverride All"
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
4. Restart apache2 after
service apache2 restart
OR
apachectl -k graceful