diff --git a/install b/install index e5c329903..b5a3e73d9 100755 --- a/install +++ b/install @@ -288,6 +288,7 @@ echo -e " \/ \/ \/ \/ \n" if [ "$ignore_dependencies" = "f" ]; then set +e + loudCmd "apt-get update" if [ -z "${dist}" ]; then loudCmd "apt-get -y --force-yes install lsb-release" dist=`lsb_release -ds | awk '{print tolower($1);}'` @@ -299,7 +300,6 @@ if [ "$ignore_dependencies" = "f" ]; then loud "-----------------------------------------------------" verbose "\n * Reading requirements-${dist,,}-${code,,}.apt..." - loudCmd "apt-get update" if [ -f ${SCRIPT_DIR}/installer/lib/requirements-${dist,,}-${code,,}.apt ]; then loudCmd "DEBIAN_FRONTEND=noninteractive apt-get -y -m --force-yes install $(grep -vE '^\s*#' ${SCRIPT_DIR}/installer/lib/requirements-${dist,,}-${code,,}.apt | tr '\n' ' ')" else diff --git a/installer/apache/airtime-vhost b/installer/apache/airtime-vhost index fa982a97b..791450f8e 100644 --- a/installer/apache/airtime-vhost +++ b/installer/apache/airtime-vhost @@ -29,9 +29,12 @@ RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] Order allow,deny - Allow from all - - Require all granted + + Allow from all + + = 2.4> + Require all granted + diff --git a/installer/apache/airtime-vhost-2.4 b/installer/apache/airtime-vhost-2.4 index a1060d875..3d8a337d3 100644 --- a/installer/apache/airtime-vhost-2.4 +++ b/installer/apache/airtime-vhost-2.4 @@ -2,13 +2,32 @@ ServerAdmin foo@bar.org DocumentRoot WEB_ROOT php_admin_value upload_tmp_dir /tmp + php_value post_max_size 500M + php_value upload_max_filesize 500M + php_value request_order "GPC" + php_value session.gc_probability 0 + php_value session.auto_start 0 + + AddOutputFilterByType DEFLATE text/plain + AddOutputFilterByType DEFLATE text/html + AddOutputFilterByType DEFLATE text/xml + AddOutputFilterByType DEFLATE text/css + AddOutputFilterByType DEFLATE application/xml + AddOutputFilterByType DEFLATE application/xhtml+xml + AddOutputFilterByType DEFLATE application/rss+xml + AddOutputFilterByType DEFLATE application/javascript + AddOutputFilterByType DEFLATE application/x-javascript + AddOutputFilterByType DEFLATE application/json DirectoryIndex index.php AllowOverride all Order allow,deny - Allow from all - - Require all granted + + Allow from all + + = 2.4> + Require all granted +