~noskcaj/ubuntu/saucy/dhelp/apache2.4

« back to all changes in this revision

Viewing changes to config/yaws-dhelp.conf

  • Committer: Charlie Smotherman
  • Date: 2012-11-05 23:48:50 UTC
  • mfrom: (22.1.1 dhelp)
  • Revision ID: cjsmo@cableone.net-20121105234850-4a447ob81bs9a5je
Tags: 0.6.21+nmu1ubuntu1
* Merge from Debian unstable. Remaining changes:
  - lib/dhelp.rb:
    + Exit and return zero code if bdb isn't available; this usually
      indicates that dhelp is not configured yet.
* Non-Maintainer Upload
* Dropped the declaration of dependence on ruby-commandline, which was
  already done on the code
* New maintainer: Georgios M. Zarkadas <gz@member.fsf.org> (Closes: #650441). 
* Support other web servers in addition to apache2 (Closes: #669041).
* Support apache2 packaging transition for version 2.4 (Closes: #669758).
* Support new ruby packaging policy transition for Wheezy.
* Use OptionParser instead Commandline::Application (Closes: #678055).
  Thanks Gunnar Wolf.
* Support new layout of man2html cgi scripts for Wheezy.
* Keep supporting previous policies/layouts, either during build time or
  during runtime, to aid backporting.
* Man and info pages links are activated only if associated packages are
  installed on the system.
* Subsections now show in the sections list only if section is selected.
* New color, styles and icons themes.
* Package installation now does not fail if cache data cannot be generated
  during install.
* Fix some minor lintian warnings.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## This is a sample config file. The important parts are arg_rewrite_mod
 
2
## and opaque. 
 
3
## Either modify this and copy it to /etc/yaws/conf.avail directory
 
4
## or copy the important parts to your existing configuration.
 
5
 
 
6
<server localhost>
 
7
    port = 8080
 
8
    listen = 127.0.0.1
 
9
    docroot = /var/www/
 
10
    dir_listings = true
 
11
 
 
12
    arg_rewrite_mod = yaws_vdir
 
13
    <opaque>
 
14
        vdir = "/doc/ /usr/share/doc"
 
15
    </opaq
 
16
</server>
 
17
 
 
18
## Note that the CGI scripts coming with dhelp are not currently functional
 
19
## with yaws because they lack the .cgi extension and thus require the writing
 
20
## of an appmode in erlang. You will have to workaround this for the moment.
 
21
 
 
22
## If you do not want to enable full access to /usr/share/doc, then
 
23
## replace the vdir = "/doc ..." line, with these:
 
24
 
 
25
    arg_rewrite_mod = yaws_vdir
 
26
    <opaque>
 
27
        vdir = "/doc/HTML/ /usr/share/doc/HTML"
 
28
        vdir = "/doc/dhelp/css/ /usr/share/doc/dhelp/css"
 
29
    </opaque>
 
30
 
 
31
## You will then need one more alias vdir line *for each* document linked
 
32
## by dhelp's document index pages, else the links will return error.
 
33
##
 
34
## See /usr/share/doc/dhelp/README.debian for more information.
 
35