perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Frantsen <icetr...@guruland.org>
Subject Fwd: Re: DirectoryIndex not working
Date Fri, 27 Jun 2003 06:11:33 GMT
> On Thu, 26 Jun 2003 14:31:09 -0500, Neil Gunton <neil@nilspace.com> 
> 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: embperl-unsubscribe@perl.apache.org
>>> For additional commands, e-mail: embperl-help@perl.apache.org
>>


 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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message