title: Why can't I access Xampp's phpmyadmin on localhost? Access is forbidden.
body: <p>I can access localhost fine on Xampp with phpmyadmin on ubuntu.  I can see the contents of /htdocs which I completely cleared and wrote my own for.  I want to access phpmyadmin, but cannot.</p>
  
  <p>When loading phomyadmin, I am greeted by a 403 Error and a note advising me to configure the setting in the file <code>httpd-xampp.conf</code>.  I looked in <code>/opt/lampp/etc/extra/httpd-xampp.conf</code>, but have no idea what to configure.</p>
  
  <p>Two areas within the file seem useful in this scenario:</p>
  
  <pre><code>&lt;Directoy "/opt/lampp/phpmyadmin"&gt;
      AllowOverride AuthConfig Limit
      Order allow,deny
      Deny From all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>#
  # New XAMPP security concept
  #
  
  &lt;LocationMatch "^/(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"&gt;
      Order deny,allow
      Deny from all
      Allow from ::1 127.0.0.0/8 \
      fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
      fe00::/10 169.254.0.0/16
  
      ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
  &lt;/LocationMatch&gt;
  </code></pre>
  
  <p>In both segments I tried changing "Deny from all" to "Allow from all" and restarted Xampp with the command <code>sudo /opt/lampp/lampp restart</code>.  I received the same error page as before.  I tried other solutions found online, but none have worked.</p>
  
  <p>What do I have to configure to access phpmyadmin?</p>