Fount it. The Filematch expression is fine. There was an unterminated double quote which was mucking things up. I didn't see it because httpd was parsing the files without error so it made it difficult to pinpoint with augeas and httpd disagreeing. The offending lines were:<br>
  <Files favicon.ico><br>    # There is no end quote below, for compatibility with Apache 1.3.<br>    ErrorDocument 404 "The requested file favicon.ico was not found.<br>  </Files><br><br>Once it was changed to:<br>
<br>  <Files favicon.ico><br>
    # There is no end quote below, for compatibility with Apache 1.3.<br>
    ErrorDocument 404 "The requested file favicon.ico was not found."<br>
  </Files><br><br>everything was fine on the augeas front. <br><br> -Glenn<br><br><div class="gmail_quote">2011/4/25 Francis Giraldeau <span dir="ltr"><<a href="mailto:francis.giraldeau@usherbrooke.ca">francis.giraldeau@usherbrooke.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, 2011-04-25 at 17:00 -0400, Glenn Buckholz wrote:<br>
> The httpd.conf lense that comes with 8.1, I'm having an issue with<br>
> certain section types. Currently I'm using the following sections:<br>
><br>
> VirtualHost<br>
> Directory<br>
> Files<br>
> Filematch<br>
><br>
><br>
><br>
> Augeas seems to be bailing on the filematch section. Here in<br>
> particular is where the lens seems to be failing in the conf file.<br>
><br>
>   <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|<br>
> sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|<br>
> Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$"><br>
>     Order allow,deny<br>
>   </FilesMatch><br>
><br>
<br>
</div>Hi,<br>
<br>
I did a small test to verify this, joint to this email. The test works<br>
here with the provided sample, with this command:<br>
<br>
[augeas]$ ./src/augparse -I lenses/ --nostdinc filematch.aug<br>
Test result: filematch.aug:10.0-.27:<br>
  {  }<br>
  {  }<br>
  { "FilesMatch"<br>
    { "arg" = ""\.(engine|inc|info|install|make|module|profile|test|po|<br>
<div class="im">sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|<br>
Repository|Root|Tag|Template|all-wcprops|entries|format)$"" }<br>
</div>    { "directive" = "Order"<br>
      { "arg" = "allow,deny" }<br>
    }<br>
  }<br>
<br>
Maybe the error is somewhere else. Could it be possible to send the hole<br>
file?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Francis<br>
<br>
</font><br>_______________________________________________<br>
augeas-devel mailing list<br>
<a href="mailto:augeas-devel@redhat.com">augeas-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/augeas-devel" target="_blank">https://www.redhat.com/mailman/listinfo/augeas-devel</a><br></blockquote></div><br>