Working with Apache in Ubuntu
I’ve had a lot of people ask me how to enable mod rewrite in ubuntu when using apache. Hopefully this will help everyone figure that out. Go to a terminal and type
sudo a2enmod rewrite
and that will take care of it.
2 comments
Don’t you need to restart apache after doing this??? I don’t know the command
Yes. You restart apache by running
sudo /etc/init.d/apache2 restart
That takes care of it for ya.