.htaccess lock

Hey, im use lock on ip in .htaccess

Order Deny,Allow
Deny from all
Allow from xx.xx.xx.xx

How to use it with real ip provider ?

You will need to rewrite the IP addresses with mod_remoteip. Also, Allow and Deny are deprecated. You should use Require at this point.

1 Like