summaryrefslogtreecommitdiffstats
path: root/server/etc
diff options
context:
space:
mode:
Diffstat (limited to 'server/etc')
-rw-r--r--server/etc/apache.conf.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl
index 5249d3fc..8158b767 100644
--- a/server/etc/apache.conf.tmpl
+++ b/server/etc/apache.conf.tmpl
@@ -5,7 +5,9 @@ Alias /opengnsys CONSOLEDIR
RewriteEngine On
# Overrides default CentOS php.ini configuration.
-php_value short_open_tag on
+<IfModule mod_php5.c>
+ php_value short_open_tag on
+</IfDefine>
# Redirect HTTP to HTTPS and default configuration.
<Directory CONSOLEDIR>