As I was installing the latest WordPress on my localhost, I found out that my mod_rewrite wasn’t working properly. So What I did was first I typed:
sudo apache2ctl -l
To know if this module is already loaded. Turns out it’s not, so what I did after that was I typed in:
a2enmod rewrite
To enable the mod_rewrite module. So i tested accessing my localhost link and it didn’t work. I checked back by typing the first command line and it says that the module isn’t enabled yet. So what I did next was I typed in:
sudo gedit /etc/apache2/sites-available/default
Then I looked for AllowOverRide and change it from None to All
I restarted Apache2 by typing:
sudo /etc/init.d/apache2 restart
And everything works perfectly fine! My mod_rewrite is working!
Error: Please make sure the Twitter account is <a href="http://support.twitter.com/forums/10711/entries/14016">public</a>.
Leave a reply