Sorry, this is a weird problem so I don't know where to start. It might be phrased poorly by me so I apologize for that.
We are running the Kafka Offset Monitor program. The cmd looks like this:
java -cp KafkaOffsetMonitor-assembly-0.2.0.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --zk zk1.domain.com zk2.domain.com zk3.domain.com --port 8000 --refresh 10.seconds --retain 2.days
Not sure if this is a solution or a workaround. I had set dirAllowed to be false in the webdefault.xml file. I re-tarred the jar file but for some reason, it still listed the directory content.
However, in each of the directories, I included a blank index.html file and that seemed to prevent the contents of the directories from being listed.