简体   繁体   中英

index.html file malfunction

I'm using Joomla CMS for developing a site at my local computer with OpenServer. I know that a simple index.html file ( <!DOCTYPE html><title></title> ) placed in directories will prevent foreign access of files contained in this directory, but it's not working, and files are shown as a result.

How can I prevent the directory listing from being seen?

I know that a simple index.html file

No.

Your issue arises from the webserver and how it is configured. Nothing to do with PHP. Nothing to do with Joomla. I have never heard of a webserver named openserver, and neither has google .

Perhaps if you shared its config someone might recognise it.

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