1
00:00:00,150 --> 00:00:08,010
Let us edit the httpd.config file, as we have discussed, so we will go to the master system and we

2
00:00:08,010 --> 00:00:18,250
will open the vi /etc/httpd/conf/httpd.conf file.

3
00:00:18,750 --> 00:00:20,550
We will go to the end of the file.

4
00:00:22,500 --> 00:00:25,780
Now, there are virtualhost settings are there.

5
00:00:26,250 --> 00:00:32,190
So what we are going to do, we are going to make entries regarding

6
00:00:34,590 --> 00:00:35,520
Directory.

7
00:00:39,580 --> 00:00:50,740
Then we are going to specify /var/www/html/example2 then we are going to specify

8
00:00:51,200 --> 00:00:58,570
the test directory, we are going to close this, then we are going to say "Options

9
00:01:01,120 --> 00:01:03,490
-indexes".

10
00:01:05,050 --> 00:01:12,130
Then we are going to close that section by specifying /directory.

11
00:01:15,220 --> 00:01:17,740
So we will check whether the syntax is okay.

12
00:01:17,740 --> 00:01:18,130
Or not.

13
00:01:18,400 --> 00:01:26,100
So we have specify directory /var/www/html/example2/test, then "Options -indexes".

14
00:01:26,110 --> 00:01:28,560
Then we close, what we are going to do.

15
00:01:29,050 --> 00:01:33,590
We are going to copy these three lines, 3yy.

16
00:01:33,820 --> 00:01:42,580
Then we are going to paste and we are going to make changes regarding that mean.

17
00:01:43,420 --> 00:01:51,730
We are going to specify the another directory that is your soft directory. in soft directory, what we are going

18
00:01:51,730 --> 00:01:56,350
to specify, we are going to specify the "Options -indexes" option.

19
00:01:58,600 --> 00:02:09,460
So we will save this and then we will with the tail -8 command, we are just going to see the

20
00:02:09,790 --> 00:02:10,390
weather.

21
00:02:10,510 --> 00:02:12,580
We have made the correct entries or not.

22
00:02:13,150 --> 00:02:16,800
So the entries are correct, as we have discussed.

23
00:02:17,230 --> 00:02:27,550
Now, what we are going to do service httpd configtest.

24
00:02:28,580 --> 00:02:32,770
It is saying that syntax is okay, then we are going to restart.

25
00:02:32,770 --> 00:02:38,710
Our systemctl restart httpd.

26
00:02:39,820 --> 00:02:42,450
So we are now restarting our server.

27
00:02:43,480 --> 00:02:48,610
So that is why we have modified that changes according to what we have discussed.
