8
0

Accepting request 250086 from home:jsegitz:branches:Apache:Modules

- Changed access control statements in config file to use 
  mod_authz_host (bnc#897005)

OBS-URL: https://build.opensuse.org/request/show/250086
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=48
This commit is contained in:
2014-09-18 10:38:52 +00:00
committed by Git OBS Bridge
parent 8fb8a30758
commit 35bedd4ecb
2 changed files with 13 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 17 10:35:26 UTC 2014 - jsegitz@suse.com
- Changed access control statements in config file to use
mod_authz_host (bnc#897005)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 21 12:07:26 UTC 2014 - vcizek@suse.com Mon Jul 21 12:07:26 UTC 2014 - vcizek@suse.com

View File

@@ -237,8 +237,13 @@ cat > $RPM_BUILD_ROOT/%{apache_sysconfdir}/conf.d/mod_perl.conf <<EOF
<Directory "%{apache_serverroot}/perl-lib"> <Directory "%{apache_serverroot}/perl-lib">
AllowOverride None AllowOverride None
Options None Options None
<IfModule !mod_authz_host.c>
Order allow,deny Order allow,deny
Deny from all Deny from all
</IfModule>
<IfModule mod_authz_host.c>
Require all granted
</IfModule>
</Directory> </Directory>
<IfModule mod_perl.c> <IfModule mod_perl.c>
PerlRequire "/etc/apache2/mod_perl-startup.pl" PerlRequire "/etc/apache2/mod_perl-startup.pl"