Using htaccess, how to restrict seeing directory contents, but allow server to use the contents?

后端 未结 11 1798
既然无缘
既然无缘 2021-01-30 22:38

More specifically, I have an htaccess file that restricts anyone from seeing the directory contents. Such that, nobody can see my 1000s of images in www.example.com/images by us

11条回答
  •  时光说笑
    2021-01-30 23:40

    in .htaccess

    Options -Indexes
    

    http://httpd.apache.org/docs/current/mod/core.html#options

提交回复
热议问题