summaryrefslogtreecommitdiffstats
path: root/adei/scripts/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'adei/scripts/configure.sh')
-rwxr-xr-xadei/scripts/configure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh
index cbc0033..93a5b8b 100755
--- a/adei/scripts/configure.sh
+++ b/adei/scripts/configure.sh
@@ -8,3 +8,6 @@ sed -i'' -re 's/APACHE_MODULES="(.*)"/APACHE_MODULES="\1 php5 rewrite proxy mod_
sed -i'' -rf /opt/scripts/override.sed /etc/apache2/default-server.conf
sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php.ini
sed -i'' -re 's@session.save_path\s*=.*@session.save_path=/tmp@' /etc/php5/apache2/php.ini
+
+# Docker allows to view stdout/stderr streams individually, but OpenShift not. So we skip TransferLog for now
+sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error.log /dev/stderr"@' /etc/apache2/httpd.conf