title: Access to phpmyadmin is not possible now due to redirection of virtualhosts
body: <p>I have a server with two subdomains, so I set up redirection for both of my subdomains specially because I want to force that the two subdomains are accessed only by https instead of http. My ideal scenario would be that I have those redirection untouched and be able to access phpMyAdmin locally (for security reasons obviously) but the problem now is that when I type the following in my browser: 
  127.0.0.1/phpmyadmin or localhost/phpmyadmin it takes me to <a href="https://example1.com/webservice/myrestfile-REST.php?appconfig=example" rel="nofollow">https://example1.com/webservice/myrestfile-REST.php?appconfig=example</a></p>
  
  <p>Is there any way to solve this problem?</p>
  
  <p>This is the configuration that I currently have with the redirection:</p>
  
  <pre><code> &lt;VirtualHost *:80&gt;
  
   ServerName example1.com
   ServerAlias API.com
   ErrorLog /var/www/html/error.log
   CustomLog /var/www/html/requests.log combined
   DocumentRoot /var/www/html
  
   RewriteEngine On
  
   LogLevel alert rewrite:trace6
   RewriteCond %{HTTPS} !=on
  # This checks to make sure the connection is not already HTTPS
  
  RewriteRule ^ https://example1.com/webservice/myrestfile-REST.php?appconfig=example [R,L]
  
  
  Redirect permanent / https://example1.com
  
  #   RewriteRule ^(.*)$ /webservice/myrestfile-REST.php?appconfig=example [QSA,L]
  
  
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:443&gt;
  ServerName example1.com
  DocumentRoot /var/www/html
  
   RewriteEngine On
  RewriteRule ^(.*)$ /webservice/myrestfile-REST.php?appconfig=example [QSA,L] 
  SSLEngine On
  SSLCertificateFile /etc/httpd/ssl/40d5d69ae6a53.crt
  SSLCertificateKeyFile /etc/httpd/ssl/sitekey.key
  SSLCertificateChainFile /etc/httpd/ssl/gd_bundle-g2-g1.crt
  
  &lt;/VirtualHost&gt; 
  </code></pre>