O
O
Oleg2018-02-08 12:26:31
htaccess
Oleg, 2018-02-08 12:26:31

How to restrict access to the site by ip?

I write these lines in .htaccess:

Order Deny,Allow
Deny from all
Allow from 178.75.37.125

I am writing my SP, but for some reason it blocks everything) and my SP including ((
gives a 403 error. forbiden and all that))
help me figure it out please :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-02-10
@dimonchik2013

Order Allow, Deny
Deny from all
Allow from 178.75.37.125

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question