Just make sure you have all contents of the newweb folder in cgi-bin as well as your compiled dgate.
This is dicom.ini that goes into newweb:
Manually copied the contents of newweb to the cgi-bin.
Presuming you have dgate and supporting webserver config in your cgi-bin, is that true?
File permissions accurate?
File ownership accurate?
Newweb or classicweb
What do you consider accurate permissions and ownership for these files?
Newweb