#696338 dhelp: JavaDoc HTML is not shown (empty page).

#696338#5
Date:
2012-12-19 19:36:48 UTC
From:
To:
I open URL:

http://localhost/cgi-bin/dhelp_fetcher?file=%2Fusr%2Fshare%2Fdoc%2Fgradle-doc%2Fapi

which refered from:

http://localhost/doc/HTML/Programming/Java/index.html

and it is empty (Firefox source viewer also shown nothing)!

From /var/log/lighttpd/error.log (no errors):

  2012-12-19 21:32:27: (response.c.300) -- splitting Request-URI
  2012-12-19 21:32:27: (response.c.301) Request-URI  :  /cgi-bin/dhelp_fetcher?file=%2Fusr%2Fshare%2Fdoc%2Fgradle-doc%2Fapi
  2012-12-19 21:32:27: (response.c.302) URI-scheme   :  http
  2012-12-19 21:32:27: (response.c.303) URI-authority:  localhost
  2012-12-19 21:32:27: (response.c.304) URI-path     :  /cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.305) URI-query    :  file=%2Fusr%2Fshare%2Fdoc%2Fgradle-doc%2Fapi
  2012-12-19 21:32:27: (response.c.349) -- sanatising URI
  2012-12-19 21:32:27: (response.c.350) URI-path     :  /cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (mod_access.c.135) -- mod_access_uri_handler called
  2012-12-19 21:32:27: (response.c.470) -- before doc_root
  2012-12-19 21:32:27: (response.c.471) Doc-Root     : /srv/www
  2012-12-19 21:32:27: (response.c.472) Rel-Path     : /cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.473) Path         :
  2012-12-19 21:32:27: (response.c.521) -- after doc_root
  2012-12-19 21:32:27: (response.c.522) Doc-Root     : /srv/www
  2012-12-19 21:32:27: (response.c.523) Rel-Path     : /cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.524) Path         : /srv/www/cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.541) -- logical -> physical
  2012-12-19 21:32:27: (response.c.542) Doc-Root     : /srv/www
  2012-12-19 21:32:27: (response.c.543) Rel-Path     : /cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.544) Path         : /usr/lib/cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.561) -- handling physical path
  2012-12-19 21:32:27: (response.c.562) Path         : /usr/lib/cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.569) -- file found
  2012-12-19 21:32:27: (response.c.570) Path         : /usr/lib/cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (response.c.719) -- handling subrequest
  2012-12-19 21:32:27: (response.c.720) Path         : /usr/lib/cgi-bin/dhelp_fetcher
  2012-12-19 21:32:27: (mod_access.c.135) -- mod_access_uri_handler called
  2012-12-19 21:32:27: (mod_compress.c.719) -- handling file as static file
  2012-12-19 21:32:27: (response.c.128) Response-Header:
  HTTP/1.1 200 OK
  Content-Type: text/plain
  Transfer-Encoding: chunked
  Date: Wed, 19 Dec 2012 19:32:27 GMT
  Server: lighttpd/1.4.31

#696338#14
Date:
2015-10-31 22:30:53 UTC
From:
To:
dhelp_fetcher does not handle well a uri that is not a file but a
directory (it should either search for an index.html file there or
complain loudly). As a result, it tries to read the directory,
resulting in an empty page. Will fix in the upcoming release.