[Koha-bugs] [Bug 11404] Apache 2.4 expects the sites definition files use the sufix .conf
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 16 19:09:05 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11404
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 23581
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23581&action=edit
Bug 11404: Apache 2.4 expects the sites definition files use the sufix '.conf'
To reproduce:
- Install the 'koha-common' package on Debian 7 or Ubuntu 13.10
(both known to include Apache 2.4).
- Create an instance (for example testlibrary) using the supplied commands:
$ koha-create --create-db testlibrary
> FAIL: apache reports an error like this:
"ERROR: Site testlibrary does not exist!"
This patch adds a test on the Apache version and appends the needed ".conf"
sufix
if needed.
To test:
1st step: koha-create gets fixed:
-- The hard way --
- Apply the patch, and build the koha-common package on top of this commit.
- Install the built package on an Apache 2.4 Debian-based distro (Debian 7 or
Ubuntu 13.10 will work)
- Create a test instance:
$ koha-create --create-db testlibrary
> SUCCESS: no more apache sites related error.
-- The easy way --
- Apply the patch, and copy the koha-create into an Apache 2.4 Debian-based
distro
- Create a test instance using the koha-create script you just copied:
$ ./koha-create --create-db testlibrary
> SUCCESS: no more apache sites related error.
2nd step: the rest of the touched scripts keep working as usual
koha-disable
koha-dump
koha-enable
koha-list
koha-remove
koha-restart-zebra
koha-stop-zebra
oha-start-zebra
They should all keep working. Can be tested "the easy way" too.
Then sign on the patch.
Note: there might be another issues regarding Apache 2.4 deployments like the
need for
$ a2enmod access_compat
and perhaps some directory permissions tweak, which I think should be properly
documented on the install instructions.
Regards
To+
Edit: some old indentation error fixed.
Sponsored-by: Universidad Nacional de Cordoba
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list