On Fri, Apr 28, 2006 at 05:19:49AM -0400, Steve Sapovits wrote:
> 
> However, the environment settings in my Apache <VirtualHost>
> section don't appear to be having any effect.  For example,

> a whole.  Those changes did take effect.  That leads me to
> believe I need some other Embperl setting.  My <VirtualHost>
> section looks like this:
> 
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
>     ServerName       secdevfdsapp01.gspt.net
>     ServerAdmin      [EMAIL PROTECTED]
>     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
> </VirtualHost>

> Any ideas appreciated.  As noted before, this is Apache 2.2.0,
> Embperl 2.2.0, mod_perl 2.0.2.

I believe the preferred method of setting things with Embperl 2.x and
Apache 2.x is NOT to use PerlSetEnv but to use things like
 
Embperl_Object_Base base.epl

rather than

PerlSetEnv       EMBPERL_OBJECT_BASE base.epl

This is because by default, Embperl 2.x using mod_perl does not get its
settings from the environment (unlike 1.x)

If you want it to use the environment, you have to set

Embperl_Useenv

to true.

This page is helpful:
http://perl.apache.org/embperl/pod/doc/Config.htm

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen  <http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to