pratham.gharat200395
New Member
- Messages
- 12
- Reaction score
- 0
- Points
- 0
I have been trying to only allow my ip range
Example 122.122.*.*
For this i had used
But no matter what i did i could not access the page. I checked my internet ip. Its in that range.
Right now i am only trying to allow myself to allow from this ip. But guess am going wrong somewhere.
What i want to achieve is
If user is from this ip range then ask for username/password (basic auth).
If user is not from this ip range then block him (dont ask for username/pass)
Example 122.122.*.*
For this i had used
Code:
Order allow,deny
Allow from 122.122.0.0/16
Deny from all
But no matter what i did i could not access the page. I checked my internet ip. Its in that range.
Right now i am only trying to allow myself to allow from this ip. But guess am going wrong somewhere.
What i want to achieve is
If user is from this ip range then ask for username/password (basic auth).
If user is not from this ip range then block him (dont ask for username/pass)