N
nicklas.bornstein
Hi,
Im trying to use PERL, generating some of the Apache Configuration.
I have loaded the module mod_perl, and then do something like;
<Perl>
print 'ErrorDocument 404 http://www.google.dk';
</Perl>
in my httpd.conf - but the Apache Configuration don't evaluate on the
print, it just print out the line in the comand promt.
I have seach Google and found some example using somthing like;
use Apache:erlSections();
but I can't figure it out. If I use the PerlSections(), I get the
error;
"Can't locate Apache/PerlSections.pm in @INC ...".
How do I simply write some configuration line in my httpd.conf, using
Perl? Thanks!
Im trying to use PERL, generating some of the Apache Configuration.
I have loaded the module mod_perl, and then do something like;
<Perl>
print 'ErrorDocument 404 http://www.google.dk';
</Perl>
in my httpd.conf - but the Apache Configuration don't evaluate on the
print, it just print out the line in the comand promt.
I have seach Google and found some example using somthing like;
use Apache:erlSections();
but I can't figure it out. If I use the PerlSections(), I get the
error;
"Can't locate Apache/PerlSections.pm in @INC ...".
How do I simply write some configuration line in my httpd.conf, using
Perl? Thanks!