]> git.koha-community.org Git - koha.git/commit
Bug 35812: Fix search URL aliases in Plack Apache config
authorMichał Kula <148193449+mkibp@users.noreply.github.com>
Wed, 27 Mar 2024 12:25:49 +0000 (13:25 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 12:11:55 +0000 (14:11 +0200)
commit9628e6a5298b45ceab7d9d443ba1c006b4df9313
treedf82b6011a85bdfdd36df7999264bb10efa35d11
parentbc58644a32338022a8ebaa00258248f80f8d1283
Bug 35812: Fix search URL aliases in Plack Apache config

Mimic missing stuff from apache-shared-opac.conf into apache-shared-opac-plack.conf, where /search and /opac-search.pl aliases were missing.

Note that while RewriteRule applies before reverse proxy directives and works, ScriptAlias applies purely to standard cgi perl scripts, meaning it didn't apply there.

Now it's mimicked analogously to how /index.html is configured.

This patch fixes an issue where someone might have just a reverse proxy to Plack configured without native Perl scripting, where this URL would then otherwise be failing.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
debian/templates/apache-shared-opac-plack.conf