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

Re: how to use mod_perl sections with mod_jk?


>>>>> On Tue,  1 Aug 2006 11:06:15 -0500, suppressed 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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.