Welcome Back !!
Lets Discuss more on Directory Indexing.In the Last tutorial, we explored secure aspects with Restricting user with / access under Linux System. Now, we would explore on Enabling Indexing with DocumentRoot.
Create publish Directory
# mkdir /usr/web
#mkdir -p www/publish
Say the Main Configuration setting include:
If you want to enable indexes generation on some particular directory or vhost just add the Indexes option:
Options Indexes FollowSymLinks
and this will enable only in that folder the generation of indexes. In this case, you might want to prevent the listing of some file types as seen in my previous post: “Hide a file type from directory indexes“ which we will explore in next tutorial.
Till then, Happy LinuXing !!!