https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41167

            Bug ID: 41167
           Summary: Rewrite Rules missing in TAR packages
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 25.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Dear Koha Team,

In the Koha 25.05.x version, I noticed that the file koha-httpd.conf in the
tarball (or Git-based) installation is missing several important rewrite rules
under the intranet section.

Because of this, when Koha is installed from source (tar or Git), many modules
on the staff interface (such as Acquisitions) do not function correctly.

However, when Koha is installed via APT packages, the correct koha-httpd.conf
file is included, and everything works properly.

The following rewrite rules are missing and should be added:

RewriteRule ^/cgi-bin/koha/erm/.$ /cgi-bin/koha/erm/erm.pl [PT]
RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/preservation/..pl$
RewriteRule ^/cgi-bin/koha/preservation/.$ /cgi-bin/koha/preservation/home.pl
[PT]
RewriteRule ^/cgi-bin/koha/admin/record_sources(.)?$
/cgi-bin/koha/admin/record_sources.pl$1 [PT]
RewriteCond %{QUERY_STRING} booksellerid=(.)
RewriteRule ^/cgi-bin/koha/acqui/supplier.pl$
/cgi-bin/koha/acquisition/vendors/%1? [R]
RewriteRule ^/cgi-bin/koha/acquisition/vendors(.)?$
/cgi-bin/koha/acqui/vendors.pl$1 [PT]

Please include these rules in the official koha-httpd.conf source TAR package
file for future releases to ensure full functionality when Koha is installed
from the tarball or Git source.

Thank you for your attention to this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to