Olá RAYtracer__,
Reply:
RD> ...if I can't convert Embperl code to Perl, is it possible to
RD> upload a script (perl module?) to a webserver so that my virtual host
RD> will be able to exec Embperl (without editing any httpd.conf)? I need
RD> it because I don't own a webserver, i want to use a free webspace
RD> provider (port5), where only mod_perl is installed =(
I've been using Embperl in a virtual server with success, of course
with a performance penalty. You have to use the embpcgi.pl script that
comes with Embperl and add the following lines in a .htaccess file:
<Files *.epl>
Action text/html /cgi-bin/embpcgi.pl
</files>
AddType text/html .epl
You you have to upload a compiled version of Embperl to your ISP,
unless it lets you use the compiler. In my case my server is running
RedHat and I compiled Embperl on a local box and uploaded all the
files into my home folder. Edit the embpcgi.pl and add the place you
uploaded the files to @INC
BEGIN { unshift @INC, '/home/luiz/perl_libs'}
or under Perl 5.6:
use libs '/home/luiz/perl_libs';
Make a test .epl file and fire it!
Good luck,
Luiz Fernando B. Ribeiro
----------------------------
At Home - Design e Internet
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]