Stay Connected
Ubuntu: JeOS mod_rewrite Apache2
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!
| Print article | This entry was posted by Ivan Versluis on March 11, 2009 at 6:56 pm, and is filed under JeOS, Ubuntu. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
