[Koha-devel] How to make self-referential URLs in Koha
dcook at prosentient.com.au
dcook at prosentient.com.au
Wed Feb 10 23:14:22 CET 2021
Nah, I don’t think that I ever created a Bugzilla issue for it. There’s pretty much 0 chance that I would work on it anyway. I just don’t have the time to devote to it.
Sometimes I wonder how long it will take me to finish #26791 (which uses an /intranet/staff mount point in plack.psgi) since it’s a 100% personal project and I almost never code at home at the moment. Maybe I will when winter comes to the southern hemisphere heh.
David Cook
Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Renvoize, Martin <martin.renvoize at ptfs-europe.com>
Sent: Thursday, 11 February 2021 8:55 AM
To: David Cook <dcook at prosentient.com.au>
Cc: koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] How to make self-referential URLs in Koha
Did this ever become a bug? Looks like an interesting improvement and would be nice to see a start made?
On Wed, 20 May 2020, 2:40 am , <dcook at prosentient.com.au <mailto:dcook at prosentient.com.au> > wrote:
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 <http://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 <mailto: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 <mailto:oleonard at myacpl.org> >
Cc: koha-devel <koha-devel at lists.koha-community.org <mailto: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/
_______________________________________________
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/20210211/96312677/attachment-0001.htm>
More information about the Koha-devel
mailing list