Prevent Apache's secrets

xiaoxiao2021-03-06  106

Apache is still very good web, but if it is not set, it will cause web secrets to be downloaded, such as icon or software, as long as the index file accessible can be prevented from canceling the directory access. Edit the httpd.conf file, the original file is:

# # This may also be "none", "all", or any combination of "indexes", # "incrudes", "FollowSymlinks", "EXECCGI", or "multiviews". # # Note That "MultiViews" Must Be named * Explicitly * --- "Options all" # doesn't give it to you. # Options indexes Followsymlinks MultiViews Just delete "indexes", users cannot access directory files!

转载请注明原文地址:https://www.9cbs.com/read-104656.html

New Post(0)