On Thu, 26 Jun 2003 14:31:09 -0500, Neil Gunton <[EMAIL PROTECTED]> wrote:

Is base.epl there too? Embperl::Object looks first for base.epl, and
you'll get a 404 if it isn't there. In base.epl you then need the
Execute('*') which will execute index.html if that is the file
requested...

Christian Frantsen wrote:

Hi!


Im running Apache 2.0.46, mod_perl 1.99_09, perl 5.6.1 (RedHat Enterprise
ES Package), Embperl 2.0b9
With the configuration below i get a 404 when I should get index.html back,
if I remove the Embperl configuration it works fine.
Is there anything I can do to fix this?


DirectoryIndex index.html

LoadModule perl_module modules/mod_perl.so
LoadModule embperl_module /usr/lib/perl5/site_perl/5.6.1/i386-
linux/auto/Embperl/Embperl.so
PerlModule Apache2 Embperl

<Directory "/opt/apache/htdocs">
Options                 FollowSymLinks ExecCGI
AllowOverride           None
Order                   allow,deny
Allow                   from all

Embperl_AppName         yarf
Embperl_Object_Base     base.epl
Embperl_UriMatch        "\.html"
Embperl_Session_Classes "File Semaphore"
Embperl_Session_Args    "Directory=/var/session"
SetHandler              perl-script
PerlHandler             Embperl::Object
</Directory>

--
/Christian

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



Yes, it's there.
If I explicitly request /index.html it works, it also works great with Apache 1.3.27 and mod_perl 1.27.




--
/Christian

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



Reply via email to