title: .htaccess multiple rewrite rules
body: <p>I currently have a .htaccess rewrite rule that will redirect all urls containing <code>/ws</code> to the <code>/ws/index.php</code> eg. www.domain.com/ws/controller/function </p>
  
  <pre><code>RewriteEngine on
  RewriteBase /ws/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
  </code></pre>
  
  <p>i'm looking to add another redirect, just the same, for all request that contain /email/ so www.domain.com/email/controller/function will redirect to the /email/index.php.</p>
  
  <p>my full .htaccess looks like the code below but it seems the /email/ never gets called.</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /ws/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
  
  RewriteEngine on
  RewriteBase /email/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
  </code></pre>
  
  <p>I've tried adding ^/email to the <code>RewriteRule</code> conditional but to no avail.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks</p>