Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 69243 invoked from network); 1 May 2006 19:04:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 19:04:00 -0000 Received: (qmail 37463 invoked by uid 500); 1 May 2006 19:03:59 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 37405 invoked by uid 500); 1 May 2006 19:03:58 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 37352 invoked by uid 99); 1 May 2006 19:03:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 12:03:58 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.136.15.135] (HELO maiss01h.gdls.com) (192.136.15.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 12:03:56 -0700 Received: from maiss04h.gdls.com (maiss04h.gdls.com [136.180.1.4]) by maiss01h.gdls.com (8.12.9/8.12.8) with ESMTP id k41J3WjP017025; Mon, 1 May 2006 15:03:32 -0400 (EDT) Received: from sysss01h.gdls.com (sysss01h [136.180.69.162]) by maiss04h.gdls.com (8.13.6/8.13.6) with ESMTP id k41J3WB0011195; Mon, 1 May 2006 15:03:32 -0400 (EDT) Received: from sysss01h (sysss01h [136.180.69.162]) by sysss01h.gdls.com (8.13.5/8.13.5) with ESMTP id k41J3TNs006126; Mon, 1 May 2006 15:03:29 -0400 (EDT) Date: Mon, 1 May 2006 15:03:29 -0400 (EDT) From: Keven Murphy X-X-Sender: murphyk@sysss01h To: Steve Sapovits cc: embperl@perl.apache.org Subject: Re: Embperl::Object environment variables In-Reply-To: <4451DE35.4070307@comcast.net> Message-ID: References: <4451DE35.4070307@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Steve, Hey just a note on the DirectoryIndex line. Mod_perl does something to the DirectoryIndex variable. It doesn't work. I found a couple websites with a work around. What I am using is the mod_rewrite and the following lines: ReWriteEngine on ReWriteRule ^(.*)/$ $1/index.html Keven Murphy murphyk@gdls.com Murphy's Law ((U+C+I)x(10-S))/20xAx1/(1-sin(F/10)) U = Urgency C = Complexity I = Importance S = Skill F = Frequency A = Aggravation On Fri, 28 Apr 2006, Steve Sapovits wrote: > > Now that I can build (thanks Gerald) I'm trying to set up an > object oriented page hierarchy. I get the basics to work. > However, the environment settings in my Apache > section don't appear to be having any effect. For example, > I set logging levels and get nothing and I have to use the > default object base '_base.epl' instead of the sample I set > up 'base.epl' (and I've tried other names). I changed other > settings in the to verity it's getting used as > a whole. Those changes did take effect. That leads me to > believe I need some other Embperl setting. My > section looks like this: > > NameVirtualHost *:80 > > > ServerName secdevfdsapp01.gspt.net > ServerAdmin sapovitss@xxxxxx.com > DocumentRoot /feeds/htdocs > DirectoryIndex index.html > ErrorLog logs/error_log > TransferLog logs/access_log > PerlSetEnv EMBPERL_ESCMODE 0 > PerlSetEnv EMBPERL_OPTIONS 16 > PerlSetEnv EMBPERL_MAILHOST localhost > PerlSetEnv EMBPERL_OBJECT_BASE base.epl > PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html > PerlSetEnv EMBPERL_DEBUG 10477 > PerlSetEnv EMBPERL_VIRTLOG 10477 > > > I've changed things like DocumentRoot to test the overall > use of the section. > > Any ideas appreciated. As noted before, this is Apache 2.2.0, > Embperl 2.2.0, mod_perl 2.0.2. > > -- > Steve Sapovits steves06@comcast.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > > This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org