Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Tuesday, November 19, 2013

Change phpmyadmin well-know url

In order to access to the web interface of phpmyadmin, by default you have to use the well-know url: mywebsite.com/phpmyadmin.
If you want to change this default url, you can use the following procedure:
  • Open the apache.conf file, this file is located in /etc/phpmyadmin (for many Linux servers).
By default, this file looks like:
# phpMyAdmin default Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin
  • Edit the file apache.conf by changing the alias
# phpMyAdmin default Apache configuration

Alias /urlsecret /usr/share/phpmyadmin
  • Restart the apache service:
sudo /etc/init.d/apache2 restart