[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] case-like solution?

Hi David,

On Tue, Dec 29, 2009 at 6:59 PM, David Lutterkort <lutter redhat com> wrote:
> The normal union '|' of lenses should let you do this.

But how do I set that actual value then? The "value" command that
Raphaël pointed at seems to throw me an error:

./apachemodrewrite.aug:24.39-.45:Undefined variable value

> It's probably
> best to treat successive RewriteCond lines in the lens as one expression
> (rather than thinking of individual lines)

I go even further, I group then with the actual rewriterule.

> Can you post what you have so far ? That will make it easier to fix
> whatever problem you are having.


Please keep in mind that this is my first try at creating a lens, it
will probably not be an optiomal solution just yet ;-) Feel free to
educate me, though!

> I would like to have that as part of the overall httpd.conf lens; see
> the patches I posted a few days ago with an embryonic Apache lens.

Yeah, I saw them, that was what inspired me to try my hand at this problem ;-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]