On Tue, 4 Sep 2001, Stas Bekman wrote:

> I'm working on implementing PerlSetEnv/PerlPassEnv right now.
> 
> 1. I see that SetEnv elem is missing from modperl_config_srv_t struct? I
> can see it only in modperl_config_dir_t struct. Does that mean that we
> cannot have a PerlSetEnv in httpd.conf's main level?

that's how it is in 1.x, we can change for 2.0.

> 2. Regarding PerlPassEnv. It seems that currently *all* the enviroment
> vars from shell are available at request time. At least that's what I see
> when I run a test.

they are not 'passed' so much as they are not yet 'cleared' from %ENV.

> 3. I still have problem with automatic configuration generation from
> within test's __DATA__ section. Consider that I want this to be
> autogenerated from the test response file:
> 
> PerlPassEnv HOME
> <Location /TestDirective::perlpassenv>
>    SetHandler modperl
>    PerlResponseHandler TestDirective::perlpassenv
> </Location>

needs to be added to Apache::TestConfigPerl::outside_container.
 
> Is there a chance we can make things less magically DWIM and more
> explicit DWIM?

yeah, but rather than new syntax, i'd rather change it to how config is
included from test.c modules.  the 'magic' in .pms was pretty much just to
auto-add the <Location ...> for you.  i would be fine with backing out the
current magic and just add support for:
<Location>
or
<Location __PACKAGE__>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to