title: mod_alias AliasMatch Regex - matching everything in a folder except two patterns?
body: <p>I'd like to use AliasMatch to create an alias for everything within a folder, <em>except</em> for two (or more) specific regex patterns.</p>
  
  <p>For instance the following AliasMatch creates an alias for everything in the 'content' folder:</p>
  
  <pre><code>AliasMatch /content(.*) /home/username/public_html/$1
  </code></pre>
  
  <p>But there are two regex patterns that I don't want the above Alias to match, for instance:</p>
  
  <pre><code>^content/([a-zA-Z0-9_-]+)/id-([a-zA-Z0-9_-]+)/([0-9]+)
  ^content/([a-zA-Z0-9_-]+)/nn-([a-zA-Z0-9_-]+)
  </code></pre>
  
  <p>I know that the NOT (!) character can be used to negate a pattern, but I don't know how to use it here, or how to negate multiple patterns in AliasMatch.</p>
  
  <p>How could this be done?</p>