When phpMyAdmin tries to access URL as https://example.com/phpmyadmin/server_variables.php&filter=long_query_time, Apache throws a 404 Error.
What might be the problem?
The requested URL /phpmyadmin/server_variables.php&filter=long_query_time was not found on this server.
Apache/2.4.27 (Ubuntu) Server at example.com Port 443
When I changed &
to ?
, everything worked like a charm.
My phpmyadmin.conf looks like this:
Alias /phpmyadmin "/usr/share/phpmyadmin"
<Directory "/usr/share/phpmyadmin">
DirectoryIndex index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>
.htaccess in /usr/share/phpmyadmin
looks like this:
AuthType Basic
AuthName "Restricted access!"
AuthUserFile /usr/share/phpmyadmin/.htpasswd
Require valid-user
phpMyAdmin version is: 4.7.3