Dallas Posted October 7, 2003 Share Posted October 7, 2003 ...i just know that it is some string in httpd.conf but dunno which exactly. Sorry for my english - i\'m from Russia. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/ Share on other sites More sharing options...
effigy Posted October 7, 2003 Share Posted October 7, 2003 what do you mean by hiding the structure? i\'m a little confused... are you talking about users accessing a directory and getting a file listing? Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3819 Share on other sites More sharing options...
Dallas Posted October 7, 2003 Author Share Posted October 7, 2003 exactly! ...heh, my english Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3826 Share on other sites More sharing options...
effigy Posted October 7, 2003 Share Posted October 7, 2003 i thought your english was fine here is what you need: <Directory /path/to/directory> Options -Indexes </Directory> Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3833 Share on other sites More sharing options...
Dallas Posted October 8, 2003 Author Share Posted October 8, 2003 is that right if i disable displaying listing of some folder all the child folders will be hidden too? Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3837 Share on other sites More sharing options...
effigy Posted October 8, 2003 Share Posted October 8, 2003 that is correct; however you can override that by making one for the child: <Directory /path/to/directory> Options -Indexes </Directory> <Directory /path/to/directory/CHILD> Options +Indexes </Directory> Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3838 Share on other sites More sharing options...
Dallas Posted October 8, 2003 Author Share Posted October 8, 2003 Thank you very much! Quote Link to comment https://forums.phpfreaks.com/topic/1121-how-can-i-hide-the-structure-of-shared-files-by-apache/#findComment-3844 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.