[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
Mon Mar 6 16:38:28 CET 2023


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

--- Comment #4 from David Liddle <david.liddle at wycliff.de> ---
Thank you! That is a fantastic suggestion. Your idea of making such a function
available out of the box is excellent. As soon as I could, I logged into what
you might call our development server, created the directory and alias, and
then also added the directory to the <access_dir> section in koha-conf.xml.

- I did have to figure out that, when you wrote ${instance}, it wasn't
something of a wildcard entry that Apache would apply to any given instance.
- I'm not quick enough with regular expressions to know if one could enter a
single alias in such a way that only the web folder of the applicable instance
has its files served by the instance's base URL.
- The pickle of this method is that /etc/koha/apache-shared-opac.conf is also
not included by koha-dump. So if one uses koha-restore, one still has to
document and implement the changes to that file. Unless, I suppose, a web
folder is supplied from the start and a clever alias added to the apache-shared
conf.

- IF such a thing was built in, I wonder if it would be good or bad to add the
web folder to the Upload tool or have a separate page of its own.

- Basically, I would be in favor of enabling superlibrarians to use nothing but
the staff interface to add any type of file that would be referenced by URLs
that are manually entered the system preferences. I don't know what percentage
of superlibrarians also have sufficient access to their server to upload such
files.

I know that much of the above would really belong in a new feature bug
describing the addition and function of a web folder. Who should take on the
creation of that? As for this bug, I think your suggestion renders it pretty
squashed.

-- 
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