[Koha-bugs] [Bug 14743] New: addorder.pl redirect problems under plack behind apache 2.4.10

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 16:00:03 CEST 2015


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

            Bug ID: 14743
           Summary: addorder.pl redirect problems under plack behind
                    apache 2.4.10
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dpavlin at rot13.org
        QA Contact: testopia at bugs.koha-community.org

I can't quite figure this out. When I run CGI version of Koha, I see following
response (recorded using tcpdump):

HTTP/1.1 302 Found
Date: Thu, 27 Aug 2015 13:28:41 GMT
Server: Apache/2.4.10 (Debian)
Location: /cgi-bin/koha/acqui/basket.pl?basketno=5610
Vary: User-Agent
Content-Length: 0
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Content-Type: text/x-perl

However, when running behind apache 2.4.10 on Debian wheezy I see chunked
response:

HTTP/1.1 302 Found
Date: Thu, 27 Aug 2015 13:21:28 GMT
Server: Apache/2.4.10 (Debian)
Vary: User-Agent
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/x-perl

60
Transfer-Encoding: chunked
Date: Thu, 27 Aug 2015 13:21:28 GMT
Connection: keep-alive

0


0

This response doesn't work in firefox (where it reports page not found) nor in
chrome (where it returns lines below 60 on screen).

Solution is (for now) to exclude addoprder.pl from proxypass using:

ProxyPass /cgi-bin/koha/acqui/addorder.pl !

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


More information about the Koha-bugs mailing list