Add Apache SetEnv environment config
authorChip Black <bytex64@bytex64.net>
Sat, 29 Mar 2014 19:45:46 +0000 (14:45 -0500)
committerChip Black <bytex64@bytex64.net>
Sat, 29 Mar 2014 19:53:14 +0000 (14:53 -0500)
scripts/write-environment-configs.pl

index 1be7645..7be0957 100644 (file)
@@ -37,3 +37,11 @@ fastcgi_param BLERG_PATH "$ENV_DIR/data";
 fastcgi_param PERL5LIB "$ENV_DIR/lib/perl5";
 EOD
 close C;
+
+# Apache SetEnv
+open C, '>', "$ENV_DIR/etc/apache-setenv.conf";
+print C <<EOD;
+SetEnv BLERG_PATH "$ENV_DIR/data"
+SetEnv PERL5LIB "$ENV_DIR/lib/perl5"
+EOD
+close C;