Eric Schirra
74e3484687
- fix wrong require /usr/bin/bash to /bin/bash so phpMyAdmin could install - insert missing templates dir in htaccess See https://docs.phpmyadmin.net/de/latest/setup.html#securing-your-phpmyadmin-installation - create tmp dir and insert this in htaccess to fix the errormessage after login OBS-URL: https://build.opensuse.org/request/show/595798 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=313
74 lines
1.7 KiB
HTTP
74 lines
1.7 KiB
HTTP
<Directory @ap_docroot@/@name@>
|
|
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
|
|
<IfModule mod_php5.c>
|
|
Include @ap_sysconfdir@/conf.d/@name@.inc
|
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@:/proc/meminfo:/proc/stat"
|
|
</IfModule>
|
|
|
|
<IfModule mod_php7.c>
|
|
Include @ap_sysconfdir@/conf.d/@name@.inc
|
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php7:/tmp:@docdir@/@name@:/etc/@name@:/proc/meminfo:/proc/stat"
|
|
</IfModule>
|
|
|
|
</Directory>
|
|
|
|
<Directory @ap_docroot@/@name@/libraries>
|
|
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
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 @ap_docroot@/@name@/templates>
|
|
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
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 @ap_docroot@/@name@/tmp>
|
|
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
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>
|