perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Scoffier <ma...@metm.org>
Subject embperl and mod_negotiation
Date Tue, 14 Jun 2005 13:49:43 GMT
Is anyone one using an Embperl Object site with mod_negotiation ?

I am trying to get _base.epl called when pages are named index.fr.html and
index.ja.html .  When I call the page directly it works.
  http://localhost/test/index.fr.html or 
  http://localhost/test/index.html.fr 
both get processed through _base.epl but if I call simple
  http://localhost/test/ 
expecting the negociation to happen, I get the correctly negotiated
index.html.fr but without having been processed through _base.epl.

The relevant sections of my httpd.conf:

<Location /test/>
        PerlHandler Embperl::Object 
        EMBPERL_OBJECT_BASE _base.epl
        EMBPERL_SESSION_HANDLER_CLASS "Embperl::Session"
        SetHandler  perl-script
        EMBPERL_URIMATCH "\.html"
        AddLanguage fr .fr
        AddLanguage en .en
        AddLanguage ja .ja
        DirectoryIndex index
        Options ExecCGI +MultiViews
</Location>


Relevant files in /test/ :

home/www/test/> ls
_base.epl  index.en.html  index.ja.html  index.fr.html   index.html.html  

I've tried with 
        EMBPERL_URIMATCH "(\.html|\.fr|\.ja|\.en)" 
but this does not change the results.

Thanks,

-- 
Marco

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message