From cad638db4345c1a0db439517e6c6a007c6d25e29072af285e905fce77e9d9507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 2 Jul 2014 09:20:56 +0000 Subject: [PATCH] Accepting request 238439 from home:vicidial:sandbox OpenSuSE v.13.1 is quite apache 2.4 friendly, so we need some special considerations with the config file on OS131 OBS-URL: https://build.opensuse.org/request/show/238439 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=79 --- roundcubemail-httpd.conf | 136 +++++++++++++++++++++++++++------------ roundcubemail.changes | 13 ++++ 2 files changed, 109 insertions(+), 40 deletions(-) diff --git a/roundcubemail-httpd.conf b/roundcubemail-httpd.conf index 37450ea..8bdf254 100644 --- a/roundcubemail-httpd.conf +++ b/roundcubemail-httpd.conf @@ -17,14 +17,21 @@ AddType text/x-component .htc - - Require all granted - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny #Allow from 127.0.0.1 Allow from all - + Options -Indexes +FollowSymLinks @@ -82,71 +89,113 @@ AddType text/x-component .htc # Special directories - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + Options -FollowSymLinks AllowOverride None - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + Options -FollowSymLinks AllowOverride None - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + Options -FollowSymLinks AllowOverride None - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + Options -FollowSymLinks AllowOverride None - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + @@ -159,13 +208,20 @@ AddType text/x-component .htc Options -FollowSymLinks AllowOverride None - - Require all denied - - + = 2.4> + + Require all granted + + + Order allow,deny + #Allow from 127.0.0.1 + Allow from all + + + Order allow,deny Deny from all - + # diff --git a/roundcubemail.changes b/roundcubemail.changes index 6ecc957..ef71365 100644 --- a/roundcubemail.changes +++ b/roundcubemail.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 23 20:26:06 UTC 2014 - jamesp@vicidial.com + +- Modify roundcubemail-httpd.conf for OpenSuSE v.13.1 apache2 + o Apache2 on OpenSuSE v.13.1 has the mod_access_compat.c module + statically compiled into the Apache2 core. This means it can't + be unloaded and the older pre-2.4 access directives must be + used. Since it is not advised to mix pre and post 2.4 access + methods the file had to be modified to look for this static + module and load pre-2.4 directives if found on Apache 2.4. It + should be forward compatible if the mod_access_compat.c module + become dynamic in the future and is not loaded. + ------------------------------------------------------------------- Sun May 11 18:01:57 UTC 2014 - aj@ajaissle.de