I think (and hope) I found a solution.

In my apache configuration, I removed PerlSetEnv  for the cookie settings
and now embperl consistently configures the cookie as configured.

I changed

*PerlSetEnv EMBPERL_COOKIE_PATH /*

to

*EMBPERL_COOKIE_PATH /*

Although, the embperl log still shows requests being made without the
embperl environment variables.

For example,

[6410]REQ: ***** Start Request at Thu Apr  5 12:23:57 2018
[6410]Use App: Expatriates
[6410]ENV:  MOD_PERL_API_VERSION=2
[6410]ENV:  MOD_PERL=mod_perl/2.0.4
[6410]Using APACHE for output...

Other requests show the environment variables.

[6410]REQ: ***** Start Request at Thu Apr  5 12:23:36 2018
[6410]Use App: Expatriates
[6410]ENV:  EMBPERL_MAIL_ERRORS_TO=jta...@gmail.com
[6410]ENV:  EMBPERL_MAILDEBUG=0
[6410]ENV:  EXPATLIB=/opt/expatriates.com/lib
[6410]ENV:  EMBPERL_COOKIE_PATH=/
[6410]ENV:  PATH=/sbin:/usr/sbin:/bin:/usr/bin
[6410]ENV:  MOD_PERL_API_VERSION=2
[6410]ENV:  EMBPERL_SESSION_MODE=1

Reply via email to