Geoffrey Young wrote:
>><Perl>
>>my $val = get_val();
>>$VirtualHost{myhost} = {
>>   PerlSetVar => ["foo", $bar],
>>}
>></Perl>
> 
> 
> 
>>I don't see how we can make A-T aware of <Perl> in any other ways. Ideas?
> 
> 
> maybe something like (untested :)
> 
>     $VirtualHost{'_default_:@PORT@'} = {

ok, that won't work - @PORT@ will be wrong.

what about something like this

  <Perl>
    use Apache::Test;
    my $vhost = Apache::Test::config->{vhosts}->{myhost}->{hostport};
    $VirtualHost{$vhost} = {
  ...
  </Perl>

if that doesn't work it probably should :)

--Geoff

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

Reply via email to