Enable Directory Browsing – Apache HTTPD Server
Web servers always look for document index whenever the client request to view the directory, document index is nothing but a index file which will be under all the directory. Document index might be any of the following index.html,index.php,index.jsp, index.htm or custom index file, this is defined in Apache configuration file using the DocumentIndex directive. If the document index not found on the directory, you will be get an error of 404 not found or welcome page of Apache server because Apache does not allow the files to be listed when the index.html not on the directory.
This type of protection is very much required on production environment, Some time you required to list the files, allow the clients to browse content of huge public software directory; this will save your time from creating the html file to link the software. This will also help you to setup a repository for red hat network installation.
1. Remove the Welcome Page
2. Add the Virtual host.
3. Add content.
Remove Welcome Page:
Add the Virtual host:
Options All Indexes FollowSymLinks
Allow from all
CustomLog logs/dl.itzgeek.com-access_log combined
Put the content on directory, for the example mount your DVD of the red hat server and confirm the directory listing. Create the directory for mounting.
Restart the Apache server.
Now you could see the directories and files listed on the directory, this will list any thing that are under the directory.
Enable Directory Browsing – Apache HTTPD Server,Enable Directory Browsing – Apache, Enable Directory Browsing linux, Enable Directory Browsing centos, Enable Directory Browsing redhat, Enable Directory Browsing Ubuntu, Enable Directory Linux, Enable Directory Apche, Enable Directory Apache web server, Enable Directory web server, Directory Browsing – Apache , Directory Browsing web server, Directory Browsing linux, Directory Browsing centos, Directory Browsing redhat