1
00:00:00,060 --> 00:00:08,370
Let us see the demo of case3, so we will go to our Master system and for Master system, we are

2
00:00:08,370 --> 00:00:11,970
going to make changes in our httpd.config file.

3
00:00:14,360 --> 00:00:15,150
so we will open.

4
00:00:15,170 --> 00:00:24,350
We will go to the end, so, now we do not need this stanga, so we will remove this.

5
00:00:27,710 --> 00:00:28,970
You can undo also.

6
00:00:32,710 --> 00:00:38,540
So only first stanga we are going to keep so what we are going to write here.

7
00:00:40,790 --> 00:00:41,650
Example1.

8
00:00:44,940 --> 00:00:46,600
And we are going to specify

9
00:00:49,600 --> 00:00:56,870
RequiresAll then we are going to specify

10
00:00:59,050 --> 00:01:00,130
Require

11
00:01:02,980 --> 00:01:05,020
all.

12
00:01:05,020 --> 00:01:05,530
granted

13
00:01:08,080 --> 00:01:10,090
then, we are going to specify.

14
00:01:12,670 --> 00:01:21,010
Requires not ip, that mean only 10 systems should not be able to access then we are going to close

15
00:01:21,010 --> 00:01:21,460
this.

16
00:01:29,600 --> 00:01:33,270
We are going to close this again.

17
00:01:33,350 --> 00:01:40,250
We will verify that everything is OK according to what we required, so it should satisfy both the conditions

18
00:01:42,920 --> 00:01:51,830
and we will check with that tail command and we are going to display  few lines.

19
00:01:52,040 --> 00:01:55,090
That means last seven lines.

20
00:01:57,710 --> 00:02:03,830
Now it is showing us the directory parameter.

21
00:02:04,490 --> 00:02:05,870
Then we are going to test.

22
00:02:09,220 --> 00:02:16,870
Syntax is OK, then we are going to restart the service, then what we will do, we will go to the

23
00:02:16,870 --> 00:02:23,080
10 system and we will try to access the example1.

24
00:02:23,650 --> 00:02:26,920
site, it is not working.

25
00:02:26,920 --> 00:02:28,060
That is what we wanted.

26
00:02:29,320 --> 00:02:30,430
But what about this?

27
00:02:35,300 --> 00:02:38,770
It will work even for master if we are going to check from master.

28
00:02:39,230 --> 00:02:50,210
What will happen let us see it will be allow access this because only in the third case what we wanted only

29
00:02:51,080 --> 00:02:56,340
this system, 172.24.0.10, it should not be able to assess rest.

30
00:02:56,360 --> 00:02:57,050
No problem.
