>>>>> "R" == \"RayZ\" Andrew V Rumm <RayZ> writes:

R> exec "htpasswd -b..." logs into error_log 
R> "Updating password for user ..." then. Is genberated output?

 Redirect the output (and error) of the command to /dev/null

R> as I understand apache needs something at stdout after exec?

 The problem is that the script is _terminated_ by #exec, you must use
 #system if you want to send some output *after* the command


Guy Decoux