2020-10-30 21:38:10 +01:00
|
|
|
Alias /phpmyadmin @TERMUX_PREFIX@/share/phpmyadmin
|
2020-08-31 13:41:55 +02:00
|
|
|
|
2020-10-30 21:38:10 +01:00
|
|
|
<Directory @TERMUX_PREFIX@/share/phpmyadmin>
|
2020-08-31 13:41:55 +02:00
|
|
|
Options Indexes FollowSymLinks
|
|
|
|
DirectoryIndex index.php
|
|
|
|
|
|
|
|
<IfModule mod_php7.c>
|
|
|
|
AddType application/x-httpd-php .php
|
|
|
|
|
|
|
|
php_flag magic_quotes_gpc Off
|
|
|
|
php_flag track_vars On
|
|
|
|
php_flag register_globals Off
|
|
|
|
php_value include_path .
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
# Authorize for setup
|
2020-10-30 21:38:10 +01:00
|
|
|
<Directory @TERMUX_PREFIX@/share/phpmyadmin/setup>
|
2020-08-31 13:41:55 +02:00
|
|
|
<IfModule mod_authn_file.c>
|
|
|
|
AuthType Basic
|
|
|
|
AuthName "phpMyAdmin Setup"
|
|
|
|
AuthUserFile etc/phpmyadmin/htpasswd.setup
|
|
|
|
</IfModule>
|
|
|
|
Require valid-user
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
# Disallow web access to directories that don't need it
|
2020-10-30 21:38:10 +01:00
|
|
|
<Directory @TERMUX_PREFIX@/share/phpmyadmin/libraries>
|
2020-08-31 13:41:55 +02:00
|
|
|
Order Deny,Allow
|
|
|
|
Deny from All
|
|
|
|
</Directory>
|
2020-10-30 21:38:10 +01:00
|
|
|
<Directory @TERMUX_PREFIX@/share/phpmyadmin/setup/lib>
|
2020-08-31 13:41:55 +02:00
|
|
|
Order Deny,Allow
|
|
|
|
Deny from All
|
|
|
|
</Directory>
|