hi everyone! i’m trying to make a htaccess code that allows from certain ip and denies from others, below is the code.
ErrorDocument 403 /s/e/403
deny from all
allow from [....]
but it does not works for me, it shows forbidden page to every ip including the whitelisted one.
am i doing something wrong?
i also tried with a empty htaccess file to see if other htaccess code is messing something but it still blocks every ip.