Configuration is done via an .htaccess files in the directory tree that you are redirecting from. For example:
# Do not change these DirectoryIndex /url/to/redirect.php ErrorDocument 401 /url/to/redirect.php ErrorDocument 403 /url/to/redirect.php ErrorDocument 404 /url/to/redirect.php # set this to the Base URL you want to redirect from # you can specify multiple Base URLs here, separate them with ";" SetEnv REDIRECT_FROM "/old/content" # set this to the Base URL you want to redirect to # you can specify multiple Base URLs here, separate them with ";" # if there are less here than in REDIRECT_FROM, the last one is repeated SetEnv REDIRECT_TO "/new/content"