add dirIndex support
Merge pull request #22 from kakikubo/master

add dirIndex support