1
00:00:00,300 --> 00:00:07,380
Now we have to edit the httpd.config file, so we will create one directory /var/www/html/

2
00:00:07,560 --> 00:00:13,740
example2/test and there we are going to specify the options -indexes.

3
00:00:14,300 --> 00:00:16,770
What is the meaning of -indexes mean?

4
00:00:17,040 --> 00:00:24,720
We do not want the users to view the directory listing and then we will go to this soft directory.

5
00:00:24,720 --> 00:00:27,030
We are going to specify options indexes.

6
00:00:27,420 --> 00:00:34,140
The meaning of that is that we want the users to or clients to view the directory listing.

7
00:00:34,500 --> 00:00:42,960
So Disable Index option for this test directory by using "Option -indexes", by using - before the

8
00:00:42,960 --> 00:00:44,950
options will disable that option.

9
00:00:45,210 --> 00:00:53,400
You can also use "Option none". Enable "indexes" option for soft directory by using this "Option indexes".

10
00:00:53,830 --> 00:01:01,920
Then what we are going to do, we are going to test the configuration, whether the syntax is okay or

11
00:01:01,920 --> 00:01:06,720
not, with which command service httpd configtest.

12
00:01:06,960 --> 00:01:08,940
It will say that the syntax is okay.

13
00:01:09,240 --> 00:01:12,600
Then we are going to reload the httpd server.
