forked from pool/phpPgAdmin
7df3762f9f
fix for boo#951002 OBS-URL: https://build.opensuse.org/request/show/352345 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpPgAdmin?expand=0&rev=18
24 lines
664 B
HTTP
24 lines
664 B
HTTP
<Directory @ap_docroot@/@name@>
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
<IfModule mod_php5.c>
|
|
php_admin_flag register_globals off
|
|
php_admin_flag magic_quotes_gpc off
|
|
php_admin_flag allow_url_include off
|
|
php_admin_flag allow_url_fopen off
|
|
php_admin_flag zend.ze1_compatibility_mode off
|
|
php_admin_flag safe_mode Off
|
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@"
|
|
</IfModule>
|
|
</Directory>
|
|
<Directory @ap_docroot@/@name@/libraries>
|
|
<IfVersion >= 2.4>
|
|
Require all denied
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Deny from all
|
|
</IfVersion>
|
|
</Directory>
|
|
|