projects
/
blerg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
31d0740
)
Add Apache SetEnv environment config
author
Chip Black
<bytex64@bytex64.net>
Sat, 29 Mar 2014 19:45:46 +0000
(14:45 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Sat, 29 Mar 2014 19:53:14 +0000
(14:53 -0500)
scripts/write-environment-configs.pl
patch
|
blob
|
history
diff --git
a/scripts/write-environment-configs.pl
b/scripts/write-environment-configs.pl
index
1be7645
..
7be0957
100644
(file)
--- a/
scripts/write-environment-configs.pl
+++ b/
scripts/write-environment-configs.pl
@@
-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;