WordPress Access to Dashboard by IP in HTACCESS

2

I have an in-house WordPress web portal to which I limited access to Dashboard by IP using the following:

<FilesMatch "^(wp-login\.php)">
Order Allow,Deny
Allow from 10.X.X.A
Allow from 10.X.X.B
Allow from 10.X.X.C
Allow from 10.X.X.D
Allow from 10.X.X.E
Allow from 10.X.X.F
</FilesMatch> 

Up there everything is fine, only now I have a group of people that need to access from a VPN from another provider that assigns them IP addresses by DHCP, so I need to open for subnet 192.XX0 / 255 and I have tried what next:

 Allow from 192.X.X.0/255 

I get a 500 Internal Server Error

Allow from 192.X.X

I also get a 500 Internal Server Error

Any ideas .. ??? Greetings Leo

    
asked by Leonardo Expósito Rojas 03.08.2017 в 16:01
source

0 answers