Add
PerlSetEnv DANCER_ENVIRONMENT "production"
to example Apache configuration to avoid a crash with newer OpenSRF
and Evergreen. This change should not hurt with older OpenSRF or
Evergreen, either.
Signed-off-by: Jason Stephenson <jason@sigio.com>
PerlSetVar psgi_app /home/opensrf/NCIPServer/bin/ncip_dancing.pl
PerlSetEnv NCIP_CONFIG_DIR "/home/opensrf/NCIPServer/t/config_sample"
PerlSetENV OILS_NCIP_CONFIG /openils/conf/oils_ncip.xml
+ PerlSetEnv DANCER_ENVIRONMENT "production"
Order deny,allow
Deny from all
Allow from 10.0.0.0/8
PerlSetVar psgi_app /home/opensrf/NCIPServer/bin/ncip_dancing.pl
PerlSetENV NCIP_CONFIG_DIR /home/opensrf/NCIPServer/t/config_sample
PerlSetENV OILS_NCIP_CONFIG /openils/conf/oils_ncip.xml
+ PerlSetEnv DANCER_ENVIRONMENT "production"
Require ip 10.0.0.0/8
</Location>
--------------------------------------------------------------------