While building, configuring and testing my virtual machine based on Ubuntu JeOS 8.04 I encountered the problem with mod_rewrite module. I migrated one of my WordPress blogs to this new vm and tried to get it working. Main page and admin area worked fine; but when opening subpages or any other area of the blog I got page could not be displayed. I figured out after checking .htaccess and reconfiguring options in WordPress than rewriting was not working with Apache2 webserver.
See my worklog how I got the module configured and working with Ubuntu JeOS 8.04 and Apache2:
- sudo a2enmod rewrite
- sudo nano /etc/apache2/sites-enabled/000-default
- Change AllowOverride None to AllowOverride All for <Directory /> and <Directory /var/www/>
- sudo /etc/init.d/apache2 restart to restart Apache2 services
That’s it!
Leave a comment