title: Rewrite Rules for apache (coming from IIS)
body: <p>I thought I had this worked out... but I guess not.  I am currently moving our server from IIS 7 to Apache (2.2.22 Ubuntu), I am able to get all my virtual hosts setup and running perfectly, but one site I am moving needs rewrite rules that I made in IIS, and I am unable to get working on Apache.</p>
  
  <p>My rules are</p>
  
  <pre><code>RewriteEngine on
  RewriteRule ^([^/]+)/?$ /index.php?LANG=$1 [L]
  </code></pre>
  
  <p>Nothing fancy, but I cannot get it to work, I get a service error if these rules are in the vhost conf file.  </p>
  
  <p>Anybody care to shed some (most lily obvious) light on an Apache new comer?</p>
  
  <p>Cheers</p>