Well I did try to put my entire configuration and it was producing errors so now
I'm liberally using Perl Sections and I'm going to try to use $PerlConfig to
solve my mod_jk problem. 

if I've got three perl sections and I use perlconfig on the second one will
everything "join" together correctly then? 

Again, I tried a here document and it resulted in errors.

basically

<Perl>
$PerlConfig <<END;
httpd.conf contents here
END
</Perl>

That resulted in errors at least in my case.

Quoting "Andreas J. Koenig" <[EMAIL PROTECTED]>:

> >>>>> On Tue,  1 Aug 2006 11:06:15 -0500, [EMAIL PROTECTED] said:
> 
>   > Just exactly how does $PerlConfig work?
>   > Can I put my entire configuration in a here document using $PerlConfig?
> 
> Yes.
> 
>   > What are the limitations with $PerlConfig?
> 
> Try it out.
> 
> The Apache::PerlSections manpage is a bit terse. But in Apache2 it's
> better: http://perl.apache.org/docs/2.0/api/Apache2/PerlSections.html
> As I said, it is like an Include statement on a scalar.
> 
> <Perl>
>   $PerlConfig = "Alias /foo /bar\n";
> </Perl>
> 
> It's that easy.
> 
> 
> -- 
> andreas
> 




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to