rewriter: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/rewriter - from package: ladr4-apps

You may install the required package with command apt-get install {package}
Error in other languages:
rewriter: bevel nie gevind nie
rewriter: comandă negăsită
rewriter: comando não encontrado
rewriter: commande introuvable
rewriter: command not found
rewriter: käsku ei ole
rewriter: không tìm thấy lệnh
rewriter: komanda nerasta
rewriter: Kommando nicht gefunden.
rewriter: kommandot finns inte
rewriter: komut yok
rewriter: nie znaleziono polecenia
rewriter: níor aimsíodh an t-ordú
rewriter: no se encontró la orden
rewriter: no s'ha trobat l'ordre
rewriter: opdracht niet gevonden
rewriter: parancs nem található
rewriter: perintah tidak ditemukan
rewriter: príkaz nenájdený
rewriter: příkaz nenalezen
rewriter: команда не найдена
rewriter: командата не е открита
rewriter: 命令找不到
rewriter: コマンドが見つかりません