with preceeding dot - should go to /index.html
no preceeding dot - should go to /index.html
with preceeding slash - should go to /index.html
child with preceeding dot - should go to /sub/index.html
child with no preceeding dot - should go to /sub/index.html
child with preceeding slash - should go to /sub/index.html