Accepting request 438758 from home:computersalat:devel:php

fix phpMyAdmin.http

OBS-URL: https://build.opensuse.org/request/show/438758
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=266
This commit is contained in:
Christian Wittmer 2016-11-05 03:02:34 +00:00 committed by Git OBS Bridge
parent 98777dc65f
commit 8de805ee73
2 changed files with 44 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 5 02:54:41 UTC 2016 - chris@computersalat.de
- fix phpMyAdmin.http
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 18 13:31:57 UTC 2016 - chris@computersalat.de Thu Aug 18 13:31:57 UTC 2016 - chris@computersalat.de

View File

@ -1,30 +1,44 @@
<Directory @ap_docroot@/@name@> <Directory @ap_docroot@/@name@>
Options FollowSymLinks Options FollowSymLinks
AllowOverride None AllowOverride None
<IfModule mod_php5.c>
php_admin_flag register_globals off <IfModule mod_php5.c>
php_admin_flag magic_quotes_gpc off php_admin_flag register_globals off
php_admin_flag allow_url_include off php_admin_flag magic_quotes_gpc off
php_admin_flag allow_url_fopen off php_admin_flag allow_url_include off
php_admin_flag zend.ze1_compatibility_mode off php_admin_flag allow_url_fopen off
php_admin_flag safe_mode Off php_admin_flag zend.ze1_compatibility_mode off
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@:/proc/meminfo:/proc/stat" php_admin_flag safe_mode Off
# customize suhosin php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@:/proc/meminfo:/proc/stat"
php_admin_value suhosin.post.max_array_index_length 256 # customize suhosin
php_admin_value suhosin.post.max_totalname_length 8192 php_admin_value suhosin.post.max_array_index_length 256
php_admin_value suhosin.post.max_vars 2048 php_admin_value suhosin.post.max_totalname_length 8192
php_admin_value suhosin.request.max_array_index_length 256 php_admin_value suhosin.post.max_vars 2048
php_admin_value suhosin.request.max_totalname_length 8192 php_admin_value suhosin.request.max_array_index_length 256
php_admin_value suhosin.request.max_vars 2048 php_admin_value suhosin.request.max_totalname_length 8192
</IfModule> php_admin_value suhosin.request.max_vars 2048
</IfModule>
</Directory> </Directory>
<Directory @ap_docroot@/@name@/libraries> <Directory @ap_docroot@/@name@/libraries>
<IfVersion >= 2.4>
Require all denied <IfVersion < 2.4>
</IfVersion> Order allow,deny
<IfVersion < 2.4> Deny from all
Order allow,deny </IfVersion>
Deny from all
</IfVersion> <IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
Order deny,allow
Deny from all
</IfModule>
</IfVersion>
</Directory> </Directory>