How to list all files under directory?

When there is no 'index.php' or 'index.html' file and you'd like to display all the files under the directory then please add below code '.htaccess' file -

Options +Indexes

This code will tell the Apache to list the files.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to run CGI script using any directory or /~username/cgi-bin?

If you would like to force Apache to allow CGI script then just follow below simple steps - 1....

How to install xmlrpc?

Installing xmlrpc module on Directadmin. Seems simple isn't it ? Might find many articles on the...

How to forward the website to another URL?

Forwarding the website to another URL - 1. Using index.php file - 1. Create the page as...

How to reset and retrieve directadmin admin password using shell?

Steps to reset the direct admin password -1. Login to SSH with root user -#passwd admin 2. This...

How to upgrade the php from 5.4 to 5.6?

If you are running php 5.4 on the server and want it to be upgraded to 5.6 . Additionally, your...

Powered by WHMCompleteSolution