I guess this can be solved by using only wildcardpathsegments instead of relativepathsegments for both mono and iis, since the documentation indicates that way. However i havent tested that in iis. I didnt want to change the behaviour of iis without some extensive testing since its known to work correctly. For mono, php tests passed woth this but i cant be sure there are no cases where where this wont behave as in iis. I have pushed this so people can deploy applications running in mono. Without this its two chunks its pretty broken.