pmg-docs/debian/tree/pmg-docs-apache
Stoiko Ivanov 40f0b774ef fix lintian warning in pmg-docs-apache
the apache/conf-available snippet for pmg-docs-apache should be named like the
package according to lintian (non-standard-apache2-configuration-name).

move the configfile via dpkg-maintscript-helper(1) (see the manpage for
the explaination of the prior version of 6.0-3~) and dh_installdeb(1).

Tested by upgrading pmg-docs-apache to a version with this commit, while having
modifications in '/etc/apache2/conf-available/pmg-docs.conf'

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-08-21 16:50:29 +02:00
..
pmg-docs-apache.conf fix lintian warning in pmg-docs-apache 2019-08-21 16:50:29 +02:00
README add new pmg-docs-apache package 2019-05-31 13:19:11 +02:00

Include the shipped config-snippet in the virtualhost you wish to serve
the documentation from:

```
Include /etc/apache2/conf-available/pmg-docs.conf
```

If pmg-docs is the only vhost on the host you can also globally enable
the config-snippet:

# a2enconf pmg-docs.conf

in both cases reload apache2 afterwards
# systemctl reload apache2

Now you should be able to access the documentation at:

* Admin Guide and Manual pages
http://your-server/pmg-docs

* API Viewer
http://your-server/pmg-docs/api-viewer