title: How to secure phpMyAdmin
body: <p>I have noticed that there are strange requests to my website trying to find phpmyadmin, like</p>
  
  <pre><code>/phpmyadmin/
  /pma/
  </code></pre>
  
  <p>etc.</p>
  
  <p>Now I have installed PMA on Ubuntu via apt and would like to access it via webaddress different from /phpmyadmin/. What can I do to change it?</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p><strong>Update</strong></p>
  
  <p>For Ubuntu 9.10 and Apache2, the corresponding setting is located in the file <code>/etc/apache2/conf.d/phpmyadmin.conf</code> which is a link to <code>/etc/phpmyadmin/apache.conf</code>. The file contains</p>
  
  <pre><code>Alias /phpmyadmin /usr/share/phpmyadmin
  </code></pre>
  
  <p>where the first <code>/phpmyadmin</code> should be changed to something different if one wants to avoid the unnecessary activity, e.g.:</p>
  
  <pre><code>Alias /secret /usr/share/phpmyadmin
  </code></pre>