Apache prohibits browsing directories

xiaoxiao2021-03-06  19

Uses: If there is no default home page (such as index.html default.htm), the user will prevent users from visiting the web from browse the directory vi /etc/httpd/conf/httpd.conf to find Options Indexes FollowSymlinks Modified to: Options -indexes Followsymlinks

Modify save exit, restart Apache Access http://192.168.0.1/ If you see the following prompt, the modification is successful

Forbidden

You don't have permission to access / on this server.

Apache / 2.0.53 (UNIX) Server AT 192.168.0.1Port 80

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

New Post(0)