简体   繁体   中英

How can I view website root when directory listing enabled?

I can view my websites subdirectory indexes. (domain.com/css) But when i try to reach the root index server shows me the index.html file.

Is there a way to list the root directory?

DirectoryIndex disabled should turn off indexes in apache. But it's beyond me why one would want to do that in real life.

Ref: https://httpd.apache.org/docs/2.4/mod/mod_dir.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM