Bug 11952

Summary: utility scripts hard-coded to expect apache, breaks when koha is installed under nginx
Product: Koha Reporter: desmith
Component: Command-line UtilitiesAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, josef.moravec, katrin.fischer
Version: Main   
Hardware: All   
OS: Linux   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14448
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description desmith 2014-03-17 14:43:10 UTC
koha-dump:    "etc/apache2/sites-available/$name" \
koha-enable:    if grep -q '^[[:space:]]*Include /etc/koha/apache-shared-disable.conf' \
koha-enable:            "/etc/apache2/sites-available/$instancename" ; then
koha-enable:        sed -i 's:^\(\s*Include /etc/koha/apache-shared-disable.conf\)$:#\1:' \

koha-list:    if grep '^[[:space:]]*Include /etc/koha/apache-shared-disable.conf' \
koha-list:            "/etc/apache2/sites-available/$instancename" > /dev/null
koha-remove:    [ -f "/etc/apache2/sites-available/$name" ]  && \

koha-restart-zebra:    if grep -q '^[[:space:]]*Include /etc/koha/apache-shared-disable.conf' \
koha-restart-zebra:            "/etc/apache2/sites-available/$instancename" ; then
koha-start-zebra:    if grep -q '^[[:space:]]*Include /etc/koha/apache-shared-disable.conf' \
koha-start-zebra:            "/etc/apache2/sites-available/$instancename" ; then
koha-stop-zebra:    if grep -q '^[[:space:]]*Include /etc/koha/apache-shared-disable.conf' \
koha-stop-zebra:            "/etc/apache2/sites-available/$instancename" ; then
Comment 1 Katrin Fischer 2020-01-05 13:00:58 UTC
I am not sure if this is a bug, unless we decide to officially support Nginx (nto sure what the status there is)
Comment 2 David Cook 2022-08-22 01:17:58 UTC

*** This bug has been marked as a duplicate of bug 9316 ***