Could somebody assist me in formulating the following .htaccess rule:
if an incoming request contains a top-level directory path like
www.example.com/dirname
automatically convert this to
www.example.com/dirname/
but only for the top level, so requests to
www.example.com/dirname/subdirname
remain untouched.
Do I need mod_rewrite for this, or is there a simpler way?