<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: configure phpMyAdmin in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/configure-phpmyadmin/m-p/3766723#M68082</link>
    <description>Shalom Chris,&lt;BR /&gt;&lt;BR /&gt;You need to generate a .htaccess database for the phpadmin with the .htpasswd command.&lt;BR /&gt;&lt;BR /&gt;This will permit you to limit the users to their own files and not others.&lt;BR /&gt;&lt;BR /&gt;root will still be able to access all via the command interface but not phpadmin.&lt;BR /&gt;&lt;BR /&gt;To confirm the correct httpd.conf config:&lt;BR /&gt;&lt;A href="http://www.mdz.dk/apacheUK.html" target="_blank"&gt;http://www.mdz.dk/apacheUK.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Reference links that are helpful:&lt;BR /&gt;&lt;A href="http://www.tiffanybbrown.com/articles/viewarticle.php/66" target="_blank"&gt;http://www.tiffanybbrown.com/articles/viewarticle.php/66&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://codex.wordpress.org/Glossary" target="_blank"&gt;http://codex.wordpress.org/Glossary&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't know which link is best. My knowledge is minimal in this area, I just look at the net every time I have to do it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 05 Apr 2006 20:13:47 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-04-05T20:13:47Z</dc:date>
    <item>
      <title>configure phpMyAdmin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-phpmyadmin/m-p/3766722#M68081</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;I have apache2 and phpmyadmin installed on debian sarge stable:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# dpkg -l | grep apache2&lt;BR /&gt;ii  apache2        2.0.54-5       next generation, scalable, extendable web se&lt;BR /&gt;ii  apache2-common 2.0.54-5       next generation, scalable, extendable web se&lt;BR /&gt;ii  apache2-doc    2.0.54-5       documentation for apache2&lt;BR /&gt;ii  apache2-mpm-pr 2.0.54-5       traditional model for Apache2&lt;BR /&gt;ii  apache2-utils  2.0.54-5       utility programs for webservers&lt;BR /&gt;ii  libapache2-mod 1.999.21-1     Integration of perl with the Apache2 web ser&lt;BR /&gt;ii  libapache2-mod 4.3.10-16      server-side, HTML-embedded scripting languag&lt;BR /&gt;# dpkg -l | grep phpmyadmin&lt;BR /&gt;ii  phpmyadmin     2.6.2-3sarge1  set of PHP-scripts to administrate MySQL ove&lt;BR /&gt;# dpkg -l | grep php4&lt;BR /&gt;ii  php4           4.3.10-16      server-side, HTML-embedded scripting languag&lt;BR /&gt;ii  php4-cli       4.3.10-16      command-line interpreter for the php4 script&lt;BR /&gt;ii  php4-common    4.3.10-16      Common files for packages built from the php&lt;BR /&gt;ii  php4-mysql     4.3.10-16      MySQL module for php4&lt;BR /&gt;ii  php4-snmp      4.3.10-16      SNMP module for php4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have 5 different domains and 5 different virual servers pointed to these domains.&lt;BR /&gt;&lt;BR /&gt;every domain should has its own mysql database and needs the access via phpmyadmin.&lt;BR /&gt;&lt;BR /&gt;in /usr/share/phpmyadmin/config.inc.php I have the following authentication:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$cfg['Servers'][$i]['auth_type']     = 'http';      // Authentication method (config, http or cookie based)?&lt;BR /&gt;$cfg['Servers'][$i]['user']          = '';          // MySQL user&lt;BR /&gt;$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed&lt;BR /&gt;                                                    // with 'config' auth_type)&lt;BR /&gt;$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I've added in /etc/apache2/sites-enabled/000-default the following entries:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Provide an alias to phpmyadmin&lt;BR /&gt;Alias /phpmyadmin /usr/share/phpmyadmin&lt;BR /&gt;&lt;DIRECTORY&gt;&lt;BR /&gt;        Order allow,deny&lt;BR /&gt; allow from all&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now every user, even root can access via phpmyadmin&lt;BR /&gt;and it doesn't matter which domain or ip address &lt;BR /&gt;(I mean all domains pointed to my webserver) is in the browser.&lt;BR /&gt;howto prevent that ?&lt;BR /&gt;the user should access via phpmyadmin only using his own domain &lt;BR /&gt;in the browser.&lt;BR /&gt;&lt;BR /&gt;my second problem is howto block mysql admin (root) user&lt;BR /&gt;on phpmyadmin for a security reason ?</description>
      <pubDate>Wed, 05 Apr 2006 19:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-phpmyadmin/m-p/3766722#M68081</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2006-04-05T19:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: configure phpMyAdmin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-phpmyadmin/m-p/3766723#M68082</link>
      <description>Shalom Chris,&lt;BR /&gt;&lt;BR /&gt;You need to generate a .htaccess database for the phpadmin with the .htpasswd command.&lt;BR /&gt;&lt;BR /&gt;This will permit you to limit the users to their own files and not others.&lt;BR /&gt;&lt;BR /&gt;root will still be able to access all via the command interface but not phpadmin.&lt;BR /&gt;&lt;BR /&gt;To confirm the correct httpd.conf config:&lt;BR /&gt;&lt;A href="http://www.mdz.dk/apacheUK.html" target="_blank"&gt;http://www.mdz.dk/apacheUK.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Reference links that are helpful:&lt;BR /&gt;&lt;A href="http://www.tiffanybbrown.com/articles/viewarticle.php/66" target="_blank"&gt;http://www.tiffanybbrown.com/articles/viewarticle.php/66&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://codex.wordpress.org/Glossary" target="_blank"&gt;http://codex.wordpress.org/Glossary&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't know which link is best. My knowledge is minimal in this area, I just look at the net every time I have to do it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 05 Apr 2006 20:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-phpmyadmin/m-p/3766723#M68082</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-05T20:13:47Z</dc:date>
    </item>
  </channel>
</rss>

