[augeas-devel] httpd.conf question
Francis Giraldeau
francis.giraldeau at usherbrooke.ca
Tue Apr 26 03:00:10 UTC 2011
On Mon, 2011-04-25 at 17:00 -0400, Glenn Buckholz wrote:
> The httpd.conf lense that comes with 8.1, I'm having an issue with
> certain section types. Currently I'm using the following sections:
>
> VirtualHost
> Directory
> Files
> Filematch
>
>
>
> Augeas seems to be bailing on the filematch section. Here in
> particular is where the lens seems to be failing in the conf file.
>
> <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|
> sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|
> Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
> Order allow,deny
> </FilesMatch>
>
Hi,
I did a small test to verify this, joint to this email. The test works
here with the provided sample, with this command:
[augeas]$ ./src/augparse -I lenses/ --nostdinc filematch.aug
Test result: filematch.aug:10.0-.27:
{ }
{ }
{ "FilesMatch"
{ "arg" = ""\.(engine|inc|info|install|make|module|profile|test|po|
sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|
Repository|Root|Tag|Template|all-wcprops|entries|format)$"" }
{ "directive" = "Order"
{ "arg" = "allow,deny" }
}
}
Maybe the error is somewhere else. Could it be possible to send the hole
file?
Thanks,
Francis
-------------- next part --------------
module Filematch =
let conf = "
<FilesMatch \"\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$\">
Order allow,deny
</FilesMatch>
"
test Httpd.lns get conf = ?
More information about the augeas-devel
mailing list