Disable Directory Listing in Apache 2.4

By January 14, 2017Server Admin

Disable mod_autoindex by commenting ouy

# LoadModule autoindex_module modules/mod_autoindex.so

in

/etc/httpd/conf.modules.d/00-base.conf

And delete / move

/etc/httpd/conf.modules.d/autoindex.conf

httpd -t to check config & service httpd reload.

 

0 0 vote
Article Rating

Author Dhillon

More posts by Dhillon
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x