[Luna 1.2 beta 2] Cache directory needs index.php

Avatar

By Mohsen_Nirouzad 15 October 2015 18:10

Member · 134 comments

I was exploring Luna files on GitHub, But I can't see any index.php or index.html file to restrict directory listing!
I don't know is it important or not, but in most forum softwares like PunBB and FluxBB theres a index.php or index.html to give more security to their directories...
Update: In these directories we don't have this file too:
/img/
/lang/
/themes/
and I made a Index.html file with a text in that. you can add it to above folders This file...
Thank you  😄

Last edited by Mohsen_Nirouzad (15 October 2015 18:46)


Sorry for bad English- I'm an English trainee | Sorry, maybe my codes incomplete or wrong, My PHP is poor ...
My email address

Avatar

By Mohsen_Nirouzad 16 October 2015 11:40

Member · 134 comments

Yannick, Please add index.php in the Luna 1.2 final version.


Sorry for bad English- I'm an English trainee | Sorry, maybe my codes incomplete or wrong, My PHP is poor ...
My email address

Avatar

By Yannick 16 October 2015 13:32

Administrator · 1,390 comments

As Luna already configures the server to not do this and throw a 403 error instead, I don't see any reason to go put an index.html in every folder of the Luna core.


You can do anything