1
00:00:00,420 --> 00:00:08,300
Now, let us test the indexes option that we have implemented, now will open the website using elinks

2
00:00:08,310 --> 00:00:16,300
dump http the ip address our example2.com website, since the index.html 

3
00:00:16,320 --> 00:00:24,720
present in the example2 directory so it will display the content of this file, try to open a website using

4
00:00:24,730 --> 00:00:31,410
elinks --dump http://172.24.0.2/test.

5
00:00:31,830 --> 00:00:41,280
Since no index.html file is present in  example2/test directory and indexes

6
00:00:41,280 --> 00:00:45,570
option we have disable that so no directory listing will be shown.

7
00:00:45,990 --> 00:00:47,800
It will give forbidden error.

8
00:00:47,940 --> 00:00:54,800
So when we are going to just say elinks --dump http://172.24.0.2

9
00:00:55,140 --> 00:01:04,710
So it is going to display the website example2.com site because index.html is

10
00:01:05,010 --> 00:01:05,490
present.

11
00:01:06,000 --> 00:01:15,330
But when we are going to elinks and /test directory it will give forbidden error because 

12
00:01:15,330 --> 00:01:17,010
no html file is there.

13
00:01:17,010 --> 00:01:26,480
And we have made we have written in that option -indexes that mean it will not display the directory

14
00:01:26,520 --> 00:01:27,070
structure.

15
00:01:28,270 --> 00:01:35,820
But when we are going to test using /soft directory, no index.html is present.

16
00:01:36,400 --> 00:01:44,130
But what we have done, we have written options indexes that mean we have enabled the directory listing.

17
00:01:44,590 --> 00:01:51,340
So when we are going to say elinks --dump http://172.24.0.2/soft, what it is going to do, it

18
00:01:51,340 --> 00:01:55,840
is going to display you the directory listing.

19
00:01:57,010 --> 00:02:06,960
So that means indexes option will decide whether to display that directory listing or not.
