Merge pull request #16 from jeroenooms/indexdir

fixed directory redirect
fixed status parameter