I have question regarding phpmyadmin. Just installing Ubuntu 20.04 then setup LAMP stack. When i click Phpmyadmin icon from Activities it open in the browser using "localhostphpmyadmin" instead "localhost/phpmyadmin" as you can see in screenshot.
How can i change this?
Note: Phpmyadmin is working fine if i accessing it via localhost/phpmyadmin. The only problem when i launch it from Activities shortcut.
Edit: result of phpmyadmin.desktop
[Desktop Entry]
Name=phpMyAdmin
Comment=MySQL management over web
Exec=sensible-browser http://localhost/phpmyadmin/
Terminal=false
Type=Application
Icon=phpmyadmin
Categories=Development;Database;
apache 000-default.conf
<VirtualHost *:80>
ServerName localhost
ServerAdmin admin@localhost
DocumentRoot /mnt/Development
redirect permanent "/" "https://localhost/"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
default-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@localhost
ServerName localhost
DocumentRoot /mnt/Development
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfModule>
Thanks in advance,
cat /etc/phpmyadmin/phpmyadmin.desktop
. – pa4080 May 27 '20 at 07:04/usr/share/applications/phpmyadmin.desktop
is symbolic link to/etc/phpmyadmin/phpmyadmin.desktop
. – pa4080 May 27 '20 at 07:21/etc/phpmyadmin
– aintnucleo May 27 '20 at 07:22redirect permanent "/" "https://localhost/"
for a while, restart Apache and flush the browser's cache in order to investigate the reason of this wrong redirection. – pa4080 May 27 '20 at 07:27/var/log/apache2/error.log
. – pa4080 May 27 '20 at 07:30