Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 94997 invoked by uid 500); 19 May 2002 00:53:07 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 94977 invoked from network); 19 May 2002 00:53:07 -0000 Date: Sat, 18 May 2002 19:53:14 -0500 (CDT) From: Dave Rolsky To: dev@perl.apache.org Subject: And some strangeness with dir_config Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ok, I just discovered this PerlOptions +GlobalRequest which fixes my previous problem, though it seems that maybe the default should be for this to be on, at least when Apache::compat is loaded, and maybe all the time since CGI.pm needs it. Now my new problem is that given this config: PerlSetVar MasonArgsMethod CGI PerlSetVar MasonAllowGlobals $Schema PerlAddVar MasonAllowGlobals $UserSession PerlAddVar MasonAllowGlobals $AdminSession PerlModule HTML::Mason::ApacheHandler SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler For some reason, Apache->request->dir_config returns an empty table (no keys or values) even though Apache->server->dir_config has the revelant config info. -dave /*================== www.urth.org we await the New Sun ==================*/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org