htlatex texfile "html" "" "-d/www/" 1) How about -dwww/ rather than /www/? The latter looks like it's trying to write into a root directory. 2) The directory has to exist; htlatex probably won't create it. 3) It appears to me that only the .html and .css output files are written to the subdirectory. All the intermediate and log files are written to the current directory as usual.
Best, Karl