Hi Teemu,

On Fri, 13 Feb 2009 18:23:06 +0100, Teemu Ikonen <[email protected]> wrote:

The 'dhelp' command opens a web browser window with an index to the
doc-base based documentation. When I have no web-server installed,
the links to the actual documentation files in this index page are in
the form 'file:///usr/share/doc/...', and work perfectly.

If I install lighttpd, dhelp opens an index page with the links in
the form 'http://localhost/doc/...'. None of these links work, i.e. all
of them give a 404 - Not Found error.

Which browser does it open when you execute "dhelp"? I have tried a bit, and when using lighttpd it seems that Konqueror fails. All the rest (Opera, Firefox and even links) seem to work like a charm.

Experimenting a bit, it seems that lighttpd somehow gets confused by Konqueror and thinks that it's not connecting from the same host. If you comment this line (and the closing brace) at the end of the lighttpd configuration, it works:

   $HTTP["remoteip"] =~ "127.0.0.1" {

In any case, it does sound like an issue in lighttpd (maybe Konqueror), so you might want to reassign the bug, or at least check with the maintainers. Any web server should make /usr/share/doc/ available as per Debian Policy 11.5 (http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-web-appl), so it seems that dhelp is doing the right thing. Another problem that looks like a bug in the lighttpd default configuration (as per the same policy section) is that apparently lighttpd doesn't make available the CGIs under /usr/lib/cgi-bin. That is also needed by dhelp (when you called it like "dhelp search-term search-term2").

--
Esteban Manchado Velázquez <[email protected]>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to