[Koha-devel] How to make self-referential URLs in Koha
dcook at prosentient.com.au
dcook at prosentient.com.au
Wed May 20 03:40:17 CEST 2020
So happy to see responses to this ^_^
Owen: It looks like we’d need to do a search and replace in the templates and the code. So I think it could involve a lot of kicking of tires. That said, we could do it incrementally. We could work through it all module by module, and then remove the “/cgi-bin/koha” once we’re sure it’s not referenced anywhere.
Kyle: I’m glad you like the idea. I’d like to use the same paths in Apache and Plack (for the sake of the self-referential URLs), so I was thinking “/opac/opac-detail.pl” and “/intranet/circ” (or “/intranet/circulation”).
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of Kyle Hall
Sent: Tuesday, 19 May 2020 11:20 PM
To: Owen Leonard <oleonard at myacpl.org>
Cc: koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] How to make self-referential URLs in Koha
I think that would also me a great cosmetic enhancement.
At the risk of scope creep, we could go a step further by mapping the perl scripts to paths as well, so /cgi-bin/koha/circ/circulation-home.pl <http://circulation-home.pl> could become /circulation/home ( or even just /circulation ) for example.
Kyle
---
http://www.kylehall.info
ByWater Solutions ( http://bywatersolutions.com )
Meadville Public Library ( http://www.meadvillelibrary.org )
Crawford County Federated Library System ( http://www.ccfls.org )
On Tue, May 19, 2020 at 9:08 AM Owen Leonard <oleonard at myacpl.org <mailto:oleonard at myacpl.org> > wrote:
> In the past, I have wondered if we could get rid of “/cgi-bin/koha” as a path prefix all together
No idea what that would involve (other than search-and-replace in the
templates), but from the user's point of view I think it would be a
nice improvement.
-- Owen
--
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200520/6f67a1d4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200520/6f67a1d4/attachment.sig>
More information about the Koha-devel
mailing list