Calem Community Forum

General => Setup => Topic started by: fred on August 27, 2007, 05:56:37 pm

Title: Calem_Dir variable
Post by: fred on August 27, 2007, 05:56:37 pm
In env.sh at the Export line - the variable "Calem_Dir" is defined. Should that not be "_Calem_Dir_" to match the variable in CreateSchemaCmd.php script?

Also in the file http-calemeam.conf there are hard coded directory paths that appear to be htdocs directives. Should these not be based on the "_Calem_Dir_" variable as well?
Title: Calem_Dir variable
Post by: calemadmin on August 28, 2007, 10:34:26 pm
CreateSchemaCmd.php is not using env.sh to define the home dir. It's using relative path to define home dir ('_CALEM_DIR_') instead. It could be rewritten to use 'CALEM_DIR' env variable.

http-calemeam.conf is used by apache directly. We have not explored how to use env variables in apache conf file. So you may show us how to do it.