[Koha-bugs] [Bug 33115] koha-dump: create option to include htdocs for OPAC and Intranet sites

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 5 23:56:32 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33115

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Liddle from comment #2)
> Logos and custom fonts were added to the root htdocs directory for both
> sites, and there is a modified XSLT stylesheet in use for the intranet site.
> All of these are referenced by system preferences that would be included in
> a restore.
> 
> If there is a better location for such files, such that they would be dumped
> and restored by the existing processes, then I would happily alter our
> practice.

You could create a /var/lib/koha/<instancename>/web folder and then use an
Alias in Apache in /etc/koha/apache-shared-opac.conf like the following:

Alias /web "/var/lib/koha/${instance}/web"

You may also need a directive like the following depending on your security:

<Directory "/var/lib/koha/${instance}/web">
    Require all granted
</Directory>

The /var/lib/koha/<instancename> directory gets automatically backed up by
koha-dump. 

--

It does require customization of the Apache config, so maybe we should consider
providing this out of the box for people to drop files into...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list