Hi,
I have a similar problem, but after an upgrade to stretch from jessie.
The dwww installation used to work perfectly under jessie, but after
upgrading dwww is only partially functional: links of the form
"/cgi-bin/dwww/usr/share/doc/*" will fail with an apache2 internal
server error 500. When looking at the apache log I get:
[Fri Jan 06 21:34:53.830541 2017] [http:error] [pid 6785:tid
140419151554304] [client ::1:45220] AH02429: Response header name 'Last
modified' contains invalid characters, aborting request, referer:
http://localhost/dwww/
I have only very basic experience with apache, and increasing the log
level to the maximum does not provide more useful information. In
particular I can't get the content of the problematic header field from
apache itself.
So I tried to call the dwww CGI directly, in /usr/lib/cgi-bin and as
user www-data, with:
QUERY_STRING=type=html REQUEST_METHOD=GET
PATH_INFO=/usr/share/doc/python3.5/html/library/index.html
HTTP_HOST=localhost HTTP_REFERER=http://localhost/dwww/ ./dwww
This generated what looks like proper output, the header is:
Content-type: text/html
Last modified: Tue Dec 13 14:16:35 2016
Content-Disposition: inline; filename="index.html"
The 'Last modified' looks ok to me... Any idea on how to progress on
this welcomed --- I have no experience in CGI development and only very
basic Apache admin skill. Googling got me this far, but now I'm stuck.
Thanks