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

  <Directory /var/www>
    <FilesMatch "\.mhtml$">
     SetHandler perl-script
     PerlResponseHandler HTML::Mason::ApacheHandler
    </FilesMatch>
  </Directory>
</IfModule>


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to