I'm trying get beyond Perl and CGI to do more sophisticated templating. Before I take the plunge into PHP, I thought I'd check out some of the Perl-based templating system, like HTML::Mason and Embperl. That latter looks particularly promising, if I could get it to work.
I'm running LM 9.0, with Apache 1.3.26, mod_perl 1.3.26_1.27, and Embperl 1.3.26_1.3.4 installed. Mod_perl seems to work when I put Perl scripts in the /perl/ directory instead of cgi-bin. I have http.conf with the following: <IfModule mod_perl.c> PerlModule HTML::Embperl SetEnv EMBPERL_DEBUG 2285 <Files *.epl> SetHandler perl-script PerlHandler HTML::Embperl Options ExecCGI </Files> #AddType text/html .epl </IfModule> I have a "hello world" .epl file in my document root. Right now it just comes up as the source code of the file. This occurs whether or not I comment out the AddType text/html .epl I've tried building Embperl from source but it won't compile. Is it broken or is it just some configuration trick? Thanks, Dan
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com