Alibabacloud.com offers a wide variety of articles about apache disable directory listing, easily find your apache disable directory listing information here online.
in the development of PHP Web site, based on the security of Web server and PHP website program code, we need to control the relevant directory or file access permissions to prevent the occurrence of unexpected situations, then how do we implement
In the development of PHP Web site, based on the security of Web server and PHP website program code, we need to control the relevant directory or file access permissions to prevent the occurrence of unexpected situations, then how do we implement
Apache is a highly configurable software. It has many features, but each one is expensive. To some extent, optimizing Apache involves allocating resources in an appropriate way and simplifying the configuration to include only necessary content.
Apache has a 4-layer structure, from the core to the outer module. The outer module can work with Apache in both static and dynamic ways. This also introduces the following "dynamic" and "static" two ways of compiling the installation:Static
In the previous analysis of the weevely backdoor, there was a reference to the use of Apache's configuration file. htaccess to hide the PHP backdoor. About the purpose of the. htaccess file, in this connection with the specific configuration of the
Customize Apache index styles
# Indicates that the index mode (directory browsing) is enabled)Options Indexes
Indexoptions fancyindexing scanhtmltitles namewidth = 128 descriptionwidth = 256 htmltable versionsort foldersfirst
Available parameters,
It turns out to be Options Indexes FollowSymLinks. Access a directory. If no default file is displayed under this directory, the file names under this directory will be listed.]After changing to Options FollowSymLinks, the system prompts 403
Apache Options Indexes FollowSymLinks
Disable Apache directory list-Indexes FollowSymLinksHow to modify the directory configuration to disable the display of the Apache directory list.By default, if you enter the address in the browser:
Http: //
Disable display of Apache directory list-indexes followsymlinksHow to modify the configuration of a directory to suppress the list of Apache directories.By default if you enter the address in the browser:http://localhost:8080/If you have
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.