I'm having trouble reading an Adafruit DHT22 sensor (temperature/humidity) through a CGI python script, when called from the webpage.
I know the backend programme works as it is logging the temperatures to a sql database, but when I try to read the sensor directly from the cgi script I get a [http:error] from the error log of apache stating
AH02429: Response header name '<!--' contains invalid characters, aborting request
I believe through trying various things that this is an adafruit library access issue through having incorrect permissions...somewhere....
If anybody has any information it will be greatly received.