请教apache2配置问题


#1

Access forbidden!

You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

想问下配置访问某个目录下的文件


#2

加上 Index
栗子 https://stackoverflow.com/questions/39239276/how-to-enable-directory-listing-in-apache-web-server
文档 https://httpd.apache.org/docs/2.4/mod/mod_autoindex.html