1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
doc-central as of 1.9.0
-----------------------
Doc-central is no longer allowed to automatically install content
below '/var/www/'. This is dictated by FHS compliance.
The old packages used to offer a local service
"http://localhost/dc/".
This can now be accomplished by registering an alias with the web
server, or failing that, for a less capable web server, by manually
creating a soft link for the desired location below the web document
root, then pointing to '/usr/share/doc-central/www'.
To exemplify, the gist of these server aliases could be
(Apache2) Alias /dc /usr/share/doc-central/www
(Lighttpd) alias.url += ( "/dc/" => "/usr/share/doc-central/www/" )
This package installs a ready made, but restrictive, alias
definition for Apache2 in '/etc/apache2/conf.d/doc-central.conf'.
When doc-central was originally written the default Apache configuration
would export /usr/share/doc/. That was considered a privacy issue and
was disabled by default.
The above doc-central.conf will add an alias for /doc and restricit
it to localhost.
Also may need to enable cgi.
With Apache that is a2enmod cgid or a2enmod cgi
-- Diane Trout <diane@ghic.org>, Wed, 11 Oct 2017 15:01:02 -0700
|