How to Stop Apache From Indexing With Webmin
Apache is an open-source web server platform used by many websites. To help Apache server administrators, the software automatically creates an index of files and directories on the web server. While these records and indexes can be handy for future use, background indexing can slow down other processes if you're performing. Disable Apache from indexing when it's deployed on instances of the Unix-based Webmin server operating system, by following these instructions.
- Difficulty:
- Moderate
Instructions
-
-
1
Launch a command line terminal connection to your Webmin-hosted Apache web server, then log in using the root credentials.
-
2
Enter the following command into the command line:
nano /etc/httpd/conf/httpd.conf
-
3
Locate the vhost file on your Apache web server, and replace the line "Options +Indexes +FollowSymLinks" with the following text:
Options +Includes -Indexes
-
4
Save the changes to your vhost file, and then restart your Apache web server on Webmin using the following command:
/etc/init.d/httpd restart
-
1