2

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.

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,

0 Answers0