Nicolas Parody wrote:
> I am trying to get Apache to use Embperl to interpret all Files ending in
> *.epl.
> 
> However still no luck. Can anyone point me in the right direction??

I have something similar to the following in all my virtual hosts that
use Embperl.

# Virtual hosts
NameVirtualHost 10.1.1.3:80
NameVirtualHost 10.1.1.3:443

<VirtualHost 10.1.1.3:80>
        ServerName dev.mysite.com
        SSLDisable
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /www/mysite/com/htdocs
        ErrorLog /www/mysite/com/logs/error_log
        TransferLog /www/mysite/com/logs/access_log
        PerlSetEnv EMBPERL_OPTIONS 16
        PerlSetEnv EMBPERL_MAILHOST mail.mysite.com
</VirtualHost>

# Set EmbPerl handler for main directory
<Directory "/www/mysite/com/htdocs/">
        <FilesMatch ".*\.(epl|htm|html)$">
                SetHandler  perl-script
                PerlHandler HTML::Embperl
                Options     ExecCGI
        </FilesMatch>
</Directory>

Hope this helps

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to