This part is working fine: www.mysite.com/aaa ==> goes to page1.php
www.mysite.com/aaa/bbb ==> goes to page2.php
www.mysite.com/aaa/bbb/ccc ==> goes to page3.php
So far so good, but: www.mysite.com/aaa/ ==> page not found error
www.mysite.com/aaa/bbb/ ==> goes to page3.php not to page2.php?
www.mysite.com/aaa/bbb/ccc/ ==> goes to page3.php
I would like www.mysite.com/aaa/ to be rewritten as www.mysite.com/aaa www.mysite.com/aaa/bbb/ to be rewritten as www.mysite.com/aaa/bbb www.mysite.com/aaa/bbb/ccc/ to be rewritten as www.mysite.com/aaa/bbb/ccc