> I would look if there is a way to make lighttpd set env variables for cgi 
> scripts from its
> configuration files so you can set PLAN9 accordingly before calling werc.

ok, yeah, the right solution is to include "mod_setenv" and then:

    setenv.add-environment = ("PLAN9"=>"/path/to/plan9")

in lighttpd.conf before werc.rc gets called. in versions of lighttpd
prior to 1.4.20, however this does not work, because there is a bug in
mod_cgi [1] that rewrites digits in env vars to "_", so changing
lighttpd versions fixed my problem.

> Another option is to hardcode your path in the source for get9root, it
> is a hideous hack, but should work (I think).

yeah, this was the first thing i thought of after sqweek mentioned
get9root...glad there is a better solution. thanks everyone for the
help!

-adam

[1] - http://redmine.lighttpd.net/issues/show/1712

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"werc" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/werc9?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to