Place this in .htaccess:
RewriteEngine On
RewriteRule ^todo(.*)$ http://app.mysite/todo$1 [R=301,NC,L]
As the code states it enables the Apache RewriteEngine (RewriteEngine On).
The apache RewriteEngine allows for a RewriteRule to execute wich initiates a redirect.
The RewriteRule takes 2 parameters. The first parameter is written between ^ and $. It contains a reference to the URL that needs catching, catched by a string (todo) and (.*) which takes all trailings behind the "todo".
The second parameter takes the redirect URL. The $1 takes the trailing paramaters found by the first parameter.
Then the RewriteRule can have flags (R=301, NC, L). If the url move is permanent R=301 should be appended. NC tells apache to treat the condition as case-insensitive. Appending flag L tells apache not to execute any further rules below the current RewriteRule.