[Koha-bugs] [Bug 10646] mod_rewrite should be enabled by the postinst script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 14:26:38 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10646

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23013|0                           |1
        is obsolete|                            |

--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 24072
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24072&action=edit
Bug 10646 - warn if mod_rewrite is not enabled

Koha requires mod_rewrite. If it's not enabled in Apache, then
koha-create will now abort with a helpful error message. Also adds a
warning when not run as root to avoid confusing errors.

Test plan:
 * apply the patch
 * a2dismod rewrite
 * run koha-create without sudo, note the error about being root
 * run koha-create with sudo, note the error about rewrite
 * a2enmod rewrute
 * repeat test above, note that it works

Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
Works as expected.

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


More information about the Koha-bugs mailing list