Bugzilla – Attachment 163401 Details for
Bug 36322
Can run docs/**/*.pl from the UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36322: Redirect docs dir to 404
Bug-36322-Redirect-docs-dir-to-404.patch (text/plain), 1.37 KB, created by
Martin Renvoize (ashimema)
on 2024-03-19 11:32:00 UTC
(
hide
)
Description:
Bug 36322: Redirect docs dir to 404
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-03-19 11:32:00 UTC
Size:
1.37 KB
patch
obsolete
>From f180c200bde8c28ec6a1a15436147cc49340dfe8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 14 Mar 2024 16:42:08 +0100 >Subject: [PATCH] Bug 36322: Redirect docs dir to 404 > >http://localhost:8081/cgi-bin/koha/docs/CAS/CASProxy/examples/proxy_cas.pl > >Test plan: >Hit the link >=> Erk >Copy the apache config to /etc/koha/apache-shared-intranet-git.conf >restart_all >Hit the link >=> 404 > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > debian/templates/apache-shared-intranet.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/templates/apache-shared-intranet.conf b/debian/templates/apache-shared-intranet.conf >index b4fe0ea2263..12abe65045e 100644 >--- a/debian/templates/apache-shared-intranet.conf >+++ b/debian/templates/apache-shared-intranet.conf >@@ -13,7 +13,7 @@ ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl" > > # Protect dev package install > RewriteEngine on >-RewriteRule ^/cgi-bin/koha/(C4|debian|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] >+RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] > > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36322
:
163138
| 163401