1
00:00:00,390 --> 00:00:07,680
Let let us see how this Require group option works, so we will go to our master system, on master

2
00:00:07,680 --> 00:00:08,280
system.

3
00:00:08,650 --> 00:00:12,960
Again, we are going to edit our .htaccess file.

4
00:00:13,350 --> 00:00:22,920
But before that, we are going to create one group file /etc/httpd and we are going to name that

5
00:00:22,920 --> 00:00:23,910
as webgroup.

6
00:00:26,790 --> 00:00:36,460
And here we are going to specify webadmin: here we are going to put nanu and kanu user

7
00:00:36,520 --> 00:00:43,710
then we are going to create one operator you can name of the group.

8
00:00:43,710 --> 00:00:44,880
could be anything.

9
00:00:45,360 --> 00:00:49,730
So we are saying operator.

10
00:00:50,040 --> 00:00:51,720
So we are going to specify.

11
00:00:53,040 --> 00:00:58,280
So here we are going to specify vipin and anantika.

12
00:01:00,330 --> 00:01:04,290
So we are going to save this now.

13
00:01:04,330 --> 00:01:06,350
We are going to make entry in which file.

14
00:01:06,870 --> 00:01:08,250
We are going to make entry

15
00:01:10,740 --> 00:01:19,380
regarding this file in .htaccess file, so here it is okay, here we are going to change

16
00:01:19,380 --> 00:01:20,010
the message.

17
00:01:20,340 --> 00:01:21,810
or it could be the same message

18
00:01:25,820 --> 00:01:29,420
By invitation.

19
00:01:31,010 --> 00:01:33,610
only.

20
00:01:35,850 --> 00:01:39,350
By invitation only, then this is the same here.

21
00:01:39,420 --> 00:01:47,010
What we are going to write, we are going to write one new parameter AuthGroupFile.

22
00:01:48,810 --> 00:02:01,050
Then we are going to specify the name of the file that is our /etc/httpd/webgroup

23
00:02:04,440 --> 00:02:14,050
here, instead of we are going to specify Require group in our case, webadmin.

24
00:02:15,870 --> 00:02:21,870
So let us again check whether everything AuthType is Basic, AuthName "by invitation only" or Auth

25
00:02:22,320 --> 00:02:26,960
UserFile is the same, AuthGroupFile is the name of the file that we created.

26
00:02:26,960 --> 00:02:30,530
Then here we are specifying Require group webadmin.

27
00:02:31,350 --> 00:02:33,300
So we are going to save this.

28
00:02:34,110 --> 00:02:35,640
Then we are going to view.

29
00:02:39,540 --> 00:02:48,840
Let us view this file also the entries are proper, then we are going to view .htaccess also.

30
00:02:51,240 --> 00:02:56,370
settings are okay, so we are going to check the syntax.

31
00:02:59,430 --> 00:03:07,290
It is working although no need to restart the system, reboot the system or restart the service, but still

32
00:03:07,290 --> 00:03:10,420
we are doing that, then what we will do?

33
00:03:10,470 --> 00:03:16,540
We will go to the C10 system and we will try to access first as.

34
00:03:17,690 --> 00:03:21,380
vipin unauthorized, regarding.

35
00:03:23,480 --> 00:03:26,570
Anantika, it is unauthorized, but what about.

36
00:03:26,640 --> 00:03:28,430
nanu and kanu.

37
00:03:28,560 --> 00:03:32,590
nanu is also given the access this is kanu.

38
00:03:33,530 --> 00:03:34,850
That is what we wanted.

39
00:03:35,540 --> 00:03:39,650
That means you can use this Require group option also.
