DirectAdmin wouldn't have need a redirect function using you way of reasoning. All it does is create an .htaccess file.existenz said:DirectAdmin does not need hotlink protecion built-in because you can do it with
Apache and a PHP script
or through a .htaccess file
Search on Google for Apache, mod_rewrite, and php or the same with .htaccess. I am sure their are tons of tutorials.