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

--- Comment #2 from David Cook <[email protected]> ---
(In reply to Jonathan Druart from comment #1)
> > That seems suboptimal...
> 
> What that? Can you detail? What do you suggest?

Maybe I'm wrong. I was thinking that overall we're trying to have fewer
critical Koha things in Apache but maybe it doesn't matter. 

I was thinking it wouldn't be ideal to have to have a rewrite rule for every
Vue.js module, but maybe that doesn't matter either.

I imagine the RewriteRule is there to handle bookmarks to URLs like:
http://localhost:8081/cgi-bin/koha/erm/eholdings/local/titles

We could have http://localhost:8081/cgi-bin/koha/erm be the Perl script instead
of http://localhost:8081/cgi-bin/koha/erm/erm.pl

Looking at https://metacpan.org/dist/Plack/source/lib/Plack/App/CGIBin.pm it
looks like it detects Perl scripts using either a file extension of .pl or
looking at the shebang. 

I just tried it out http://localhost:8081/cgi-bin/koha/erm and it works (except
for the breadcrumbs of course).

-- 
You are receiving this mail because:
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