---
title: "Mod_Rewrite in Apache2"
url: "http://andrewbolster.info/2010/04/mod_rewrite-in-apache2/"
date: "2010-04-01T16:51:01Z"
tags: ["Apache","Linux","Networking","Programming","Server","Ubuntu"]
categories: ["Instructional"]
---

Just incase you forget how to fix this the easy way: Enable mod\_rewrite for URL voodoo; (Or any module replacing the

```
rewrite
```

)

> ```
> $sudo a2enmod rewrite
$sudo service apache2 restart
> ```

Remember to fiddle with

```
/etc/apache2/sites-available.*< \pre> and change "AllowOverride none" to "all" in any places that you're having trouble with rewritten URL's
```
