How to enable directory listing in Linux website?
Follow the below steps to enable the directory listing.
Step 1: First, login to your home folder i.e. 'public_html' folder.
Step 2: In the home folder, create a file named .htaccess. If the .htaccess file is already available in your home folder then skip this step.
Step 3: Open the .htaccess file and add the below mentioned line in the last portion of the .htaccess file.
Step 4: Now the directory listing will be enabled for your site.
Not at all
What could be better? (Optional)
Not related to my issue
Too complicated explanations
Too much information
Too old information
Do you have any other feedback about this faq ?