None


Change Default Access URL of phpMyAdmin

(0 votes, average 0 out of 5)

By default, phpMyAdmin installs its web interface to a well-known location, like yourhost.com/phpMyAdmin. In order to make the phpMyAdmin installation more secure, it is a good idea to change this to a different, unique name. In order to do so, open the apache.conf file in the phpMyAdmin's configuration directory. On many Linux servers, this file is located in /etc/phpmyadmin/. At the top of apache.conf, look for the following line:

1
2
3
# phpMyAdmin default Apache configuration
 
Alias /phpmyadmin /usr/share/phpmyadmin

Simply change the alias to point to the unique URL you want for your installation. For example:

1
2
3
# phpMyAdmin default Apache configuration
 
Alias /secretadmin /usr/share/phpmyadmin

After this is done, restart the Apache service to see the changes:

1
sudo /etc/init.d/apache2 restart

Now visit the new URL, and phpMyAdmin should be there. For example, yoursite.com/secretadmin.


Partner Links:
Last Updated on Tuesday, 03 August 2010 22:06  
Related Articles

» Using Awk to Print Select Output

Awk is a very powerful utility, but its syntax is less than intuitive to a beginner. Here are a few common but very powerful things you can do with awk:1234567891011121314151617# print line 2 of the fileawk 'NR == 2' myFile.txt # print column 2 of the fileawk '{print $2}' myFile.txt # add up column 2awk '{s += $4} END {print s}' # print all the lines with more than 80 columnsawk 'length($0) > 80' myFile.txt # print the number of lines in the fileawk 'END { print NR }'...

» Make the Linux or Mac OS X Command Line Easier with .bashrc

Starting to use the command line (or terminal) in Linux or Mac OS X can be very daunting. It is indeed a complex task to learn all of the commands and how to use them together properly. Despite the learning curve, using the command line can make a lot of tasks significantly faster and easier. One way to make the terminal easier to use is by creating a .bashrc file.Most Linux distributions (and Mac OS X) use the as the default terminal shell (although I've heard some ). When initializing, Bash...

» How to Create Personal Folders in Microsoft Outlook 2010

Personal folders are a good way to store email on a hard drive such that they are not affected by an exchange server's retention policy.  Creating a personal folder is Outlook 2010 is easy, but not straight forward.  Here's how to do it:First, open Outlook and navigate to the File tab.  Click the "Account Settings" button, and choose the "Account Settings..." option the dropdown menu.Navigate to the "Data Files" tab, and click the "Add" button:You will see a prompt to save a new...