# phpMyAdmin
Alias /phpmyadmin-multi /usr/share/phpMyAdmin

<Directory /usr/share/phpMyAdmin>
    SSLRequireSSL
    Options -Indexes  
    AllowOverride None
    order deny,allow
    deny from all 
{
    my $phpmyadminaxs = $phpmyadminmulti{'access'} || "private";
    if ($phpmyadminaxs eq "public")
    {
	$OUT .= "    allow from all";
    } else {
	$OUT .= "    allow from $localAccess $externalSSLAccess";
    }
}
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_flag  magic_quotes_gpc  on
    php_flag  track_vars        on
</Directory>

<Directory /usr/share/phpMyAdmin/scripts>
    SSLRequireSSL 
    Options -Indexes
    AllowOverride None
    order deny,allow
    deny from all
    allow from { "$localAccess $externalSSLAccess"; }
    AuthName "phpMyadmin Scripts (Admin)"
    AuthType Basic
    AuthExternal pwauth
    require user admin
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_flag  magic_quotes_gpc  on
    php_flag  track_vars        on
</Directory>
							
<Directory /usr/share/phpMyAdmin/libraries >
    order deny,allow
    deny from all
</Directory>
