First, we need to install Apache2, Before that Update Ubuntu with below command.
sudo apt-get update
Install Apache
sudo apt-get install apache2
Now activate mod_rewrite using below command
sudo a2enmod rewrite
Restart Apache Server
sudo systemctl restart apache2
or
sudo service apache2 restart
No comments:
Post a Comment