Home › Forums › Other › Constantly locked out of phpMyAdmin › Reply To: Constantly locked out of phpMyAdmin
September 8, 2014 at 5:40 pm #182295
Basically, right now, I have it set to my current IP however, when it changes I have to go into the phpMyAdmin.conf file and change the IP every time I get locked out, restart Apache and then I’m good. But that’s incredibly annoying.
<Directory /usr/share/phpMyAdmin/> <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip MY_IP Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from MY_IP Allow from ::1 </IfModule> </Directory>