1
0
forked from pool/roundcubemail

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
This commit is contained in:
Tomáš Chvátal 2014-07-02 09:20:56 +00:00 committed by Git OBS Bridge
parent 27956436f7
commit cad638db43
2 changed files with 109 additions and 40 deletions

View File

@ -17,14 +17,21 @@
AddType text/x-component .htc
<Directory __ROUNDCUBEPATH__>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
Options -Indexes +FollowSymLinks
@ -82,71 +89,113 @@ AddType text/x-component .htc
# Special directories
<Directory __ROUNDCUBEPATH__/bin>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/config>
Options -FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/logs>
Options -FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/migration>
Options -FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/migrated>
Options -FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/plugins/enigma/home>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
<Directory __ROUNDCUBEPATH__/program>
@ -159,13 +208,20 @@ AddType text/x-component .htc
<Directory __ROUNDCUBEPATH__/temp>
Options -FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
<IfModule mod_access_compat.c>
Order allow,deny
#Allow from 127.0.0.1
Allow from all
</IfModule>
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfModule>
</IfVersion>
</Directory>
# </VirtualHost>

View File

@ -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