Bug 11952 - utility scripts hard-coded to expect apache, breaks when koha is installed under nginx
Summary: utility scripts hard-coded to expect apache, breaks when koha is installed un...
Status: RESOLVED DUPLICATE of bug 9316
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-17 14:43 UTC by desmith
Modified: 2022-08-22 01:17 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***