Bugzilla – Attachment 28915 Details for
Bug 12439
Apache 2.4 may not have the CGI module enabled by default, and we need it.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12439 - check that CGI is enabled when doing koha-create
Bug-12439---check-that-CGI-is-enabled-when-doing-k.patch (text/plain), 974 bytes, created by
Robin Sheat
on 2014-06-18 02:06:40 UTC
(
hide
)
Description:
Bug 12439 - check that CGI is enabled when doing koha-create
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2014-06-18 02:06:40 UTC
Size:
974 bytes
patch
obsolete
>From 66d2f2ebb95a3c09df335b945edc9d05f5dd3ded Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Wed, 18 Jun 2014 14:05:48 +1200 >Subject: [PATCH] Bug 12439 - check that CGI is enabled when doing koha-create > >--- > debian/scripts/koha-create | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 14a6a45..841ef86 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -168,6 +168,19 @@ Typically this can be enabled with: > EOM > die > fi >+ >+ # Check that the CGI module is installed and enabled >+ # (Apache 2.4 may not have it by default.) >+ if ! /usr/sbin/apachectl -M 2> /dev/null | grep -q 'cgi_module'; then >+ cat 1>&2 << EOM >+Koha requires mod_cgi to be enabled within Apache in order to run. >+Typically this can be enabled with: >+ >+ sudo a2enmod cgi >+EOM >+ die >+ fi >+ > } > > set_biblios_indexing_mode() >-- >1.8.3.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12439
: 28915