I'm doing this for quite a while:
I use the html.lib from contrib.lib of xharbour.org
I build a normal xHB-exe with this lib and put it in \cgi-bin on the server.
If this is what you are looking for and you need more information, let me know.
Regards,
Dietmar