title: Specify more than one directory in Web.Config's Location Path element
body: <p>In my ASP.NET's Web Config file I have the following location elements defined:</p>
  
  <pre><code>  &lt;location path=""&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;deny users="?"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  
    &lt;location path="dir1"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="?"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  
    &lt;location path="dir2"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="?"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  </code></pre>
  
  <p>The example above is specifying that all directories will be locked down to anonymous users except the two directories dir1 and dir2.</p>
  
  <p>I'm curious if there is a syntax that I can use that will allow me to define more than one directory within one location element. For example, it would be convenient if we could do something like this...</p>
  
  <pre><code>  &lt;location path="dir1,dir2,etc"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="?"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  </code></pre>