Home > Backend Development > PHP Tutorial > Introduction to how to disable directory access in Apache

Introduction to how to disable directory access in Apache

巴扎黑
Release: 2016-11-23 13:22:19
Original
952 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:
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
Latest Issues
Apache automatically stops
From 1970-01-01 08:00:00
0
0
0
apache restart failed
From 1970-01-01 08:00:00
0
0
0
apache error
From 1970-01-01 08:00:00
0
0
0
How apache logs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template