
Solution:
(Recommended learning:apache from entry to proficiency)
If the main directory in the site root directory If the index file fails, Apache will list all files with similar content on the browser to replace the site homepage.
In order to turn off Apache directory listing, you can make global settings in the main configuration file, or set the following rules in the .htaccess file:
Options -Indexes
The above is the detailed content of If the index file is lost, how to invalidate the directory listing?. For more information, please follow other related articles on the PHP Chinese website!
what is mysql index
mysql transaction isolation level
What are mysql engines?
How to withdraw money on WeChat without handling fees
Cancel power-on password in xp
What is the difference between pass by value and pass by reference in java
Will the Bitcoin inscription disappear?
Ranking of the top ten digital currency exchanges