Introduction to how to disable directory access in Apache

巴扎黑
Release: 2016-11-23 13:22:19
Original
871 people have browsed it

1. Open the apache configuration file httpd.conf

2. Find

<Directory "f:/web"/>  
  Options Indexes  
  AllowOverride None  
  Order allow,deny  
  Allow from all  
</Directory>
Copy after login

and just modify Options Indexes to Options None. Note: Depending on the PHP running environment installation package, Options Indexes may also be Options Indexes FollowSymLinks. And change it to Options None


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!