run command: nano /etc/apache2/apache2.conf Change from “AllowOverride None” to “AllowOverride All” Save and close Now run: a2enmod rewrite Now run sudo service apache2 restart It should work now.
Required steps to perform this: You should have root access to terminal. Server: Ubuntu 14 LAMP should be installed. Run this command: cat /etc/motd.tail
An alternative installation method uses the EPEL (Extra Packages for Enterprise Linux) repository that is available for CentOS and related distributions. To gain access to the EPEL repo, you must modify the repo-list of your installation. Fortunately, we can reconfigure access to this repository by installing a package available in our current repos called epel-release. […]