cgi to serve the webpages and
cgi is no longer enabled in
apache2 by default; so you need to enable
sudo a2enmod cgi
And then restart the
apache2 service with:
service apache2 restart
That will solve the major problem you are experiencing with
But you might run into another problem.
dwww allows access from the web server to files in
/usr/share/doc (and it will follow symlinks in other directories to
The additional problem you may find is that some of the documentation files are not in
For example (this will depend on what documentation you have installed), some directories in
/usr/share/gtk-doc/html are symlinked to
/usr/share/doc/.... These will display is
dwww without problem.
But other files are not and will not display automatically. The
/usr/share/gtk-doc/html/atk directory, for example, does not use a symlink to
/usr/share/doc. Trying to open these files with
dwww results in:
dwww will not allow you to read the file /usr/share/gtk-doc/html/atk/index.html
There is probably a solution for this involving
dwww configuration; but I'm no expert in
apache2 security and wouldn't want to introduce a problem.
The simple workaround is to use the
file:// protocol for those (very) few files where you find this problem.
atk documentation example above, the generated url is:
You can go up to the address bar and edit it to:
and the file will then load.