I have protected my database PHPMYADMIN. I try to do like:
<Directory /usr/share/phpmyadmin> DirectoryIndex index.php Options Includes ExecCGI AllowOverride None Order deny,allow Deny From All Allow from 10.230.35.xx -> my IP Allow from 10.230.35.X2 -> additional IP it works Allow from 127.0.0.1 <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_admin_flag allow_url_fopen Off php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/ </IfModule>
But,my access was blocked even I allowed.Why? I am trying to add another IP, and it works but not for my IP.