diff options
author | ramon <ramongomez@us.es> | 2014-04-16 11:11:16 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-04-16 11:11:16 +0000 |
commit | f9e3393845ded1cf93f61277ae3b2e9348e14c9a (patch) | |
tree | 33eb2ba3614b471738e3834aa62f20bbf270749f /server/etc | |
parent | b97f2dc35edde578a0802b50615b1edcf0c899bf (diff) |
#616: Instalador compatible con configuraciĆ³n de Apache 2.4 y de versiones anteriores.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4237 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/etc')
-rw-r--r-- | server/etc/apache-prev2.4.conf.tmpl | 12 | ||||
-rw-r--r-- | server/etc/apache.conf.tmpl | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/server/etc/apache-prev2.4.conf.tmpl b/server/etc/apache-prev2.4.conf.tmpl new file mode 100644 index 00000000..474ea62a --- /dev/null +++ b/server/etc/apache-prev2.4.conf.tmpl @@ -0,0 +1,12 @@ +# OpenGnSys Web Console template configuration for Apache. + +Alias /opengnsys CONSOLEDIR + +# Overrides default CentOS php.ini configuration. +php_value short_open_tag on + +<Directory CONSOLEDIR> + Options -Indexes FollowSymLinks + DirectoryIndex index.php +</Directory> + diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl index 1bf6d2c6..5613bf11 100644 --- a/server/etc/apache.conf.tmpl +++ b/server/etc/apache.conf.tmpl @@ -6,7 +6,8 @@ Alias /opengnsys CONSOLEDIR php_value short_open_tag on <Directory CONSOLEDIR> - Options -Indexes +FollowSymLinks - DirectoryIndex index.php + Require all granted + Options -Indexes +FollowSymLinks + DirectoryIndex index.php </Directory> |