Hi Friends,
I am new to the list and embperl.
I just installed that on centos 4.2 , modperl2 apache2 .
Now i have configuration as in mine httpd.conf as
<VirtualHost <ip>:80>
ServerName xxxx
ServerAlias www.xxxxxxxx
DocumentRoot /home/xxxxxx/public_html
<Directory /home/xxxxxxxx/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
</Directory>
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_MAILHOST xxxxxxxxx
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
PerlSetEnv EMBPERL_DEBUG 0
</VirtualHost>
 # Set EmbPerl handler for main directory
        <Directory "/home/xxxxxx/public_html">
                <FilesMatch ".*\.html$">
                        SetHandler  perl-script
                        PerlHandler Embperl::Object
                        Options     ExecCGI
                </FilesMatch>
                <FilesMatch ".*\.epl$">
                        Order allow,deny
                        Deny From all
                </FilesMatch>
        </Directory>
#PerlModule Embperl


I earlier in line with PerlHandler Embperl::Object have written PerlHandler HTML::EmbperlObject but that was not working nor was HTML::EmbperlObject was being found.
I wanted to ask what is the difference betwen writting Embperl::Object to HTML::EmbperlObject .

Also now it is searching for default file as _base.epl as opposed to base.epl .
Pl. help me.
I shall be very grateful.
Thanks,
Abhishek jain

Reply via email to