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.
Options Indexes
Step 4: Now the directory listing will be enabled for your site.
Not at all
helpful Not much
helpful Some what
helpful Very
helpful Extremely
helpful | ||||||||
What could be better? (Optional)
X
Not related to my issue
Too complicated explanations
Too much information
Incorrect information
Unclear information
Incomplete information
Too old information
Do you have any other feedback about this faq ? 1000
|