Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 45206 invoked by uid 500); 12 Sep 2002 18:10:49 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 45193 invoked from network); 12 Sep 2002 18:10:48 -0000 Date: Thu, 12 Sep 2002 14:10:38 -0400 To: jcushman@avatartechnology.com, embperl@perl.apache.org Subject: EmbperlObject OBJECT_BASE question.. Message-ID: <20020912181038.GA10662@aidos.inside.sm1th.org> Reply-To: Nate Smith Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Organization: Engineers Against Entropy, Inc. X-Operating-System: Linux 2.4.18 i686 X-Outlook: All your inbox are belong to Microsoft! From: Nate Smith X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I saw your post : http://www.ecos.de/~mailarc/embperl/2001-07/msg00024.html where you suggested a fix for someone wanting a different OBJECT_BASE depending on the requested file's extension. I am trying to solve the same problem, without any luck. My setup is as follows: PerlSetVar Allow yes SetHandler perl-script PerlHandler HTML::EmbperlObject PerlSetEnv EMBPERL_OBJECT_BASE template.epl PerlSetEnv PATH " " Options ExecCGI PerlSetVar Allow yes SetHandler perl-script PerlHandler HTML::EmbperlObject PerlSetEnv EMBPERL_OBJECT_BASE ptemplate.epl PerlSetEnv PATH " " Options ExecCGI PerlSetEnv EMBPERL_ESCMODE 0 PerlSetEnv EMBPERL_OPTIONS 16 Order allow,deny Allow From all using apache 1.3.22 + mod_perl 1.25 + Embperl 1.3.4 The 'pup' extension is for 'popup', i just wanted it to be distinct. I made my ptemplate.epl in the same directory as a test.pup. When I request test.pup it returns just the text generated by embperl, such that it is not interpreted as HTML. Any ideas? I've tried it with different ESCMODE and OPTIONS as well, with same results. Thanks, Nate Smith nate@smith.net --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org