Tomas Cohen Arazi
149a6da9ec
This patch introduces a Vue.js based record sources managing page. To test it: 1. Apply this patch 2. Build the Vue.js stuff: $ ktd --shell k$ yarn js:build k$ restart_all 3. On the staff interface, go to Administration > Record sources 4. Play with the interface and the offered actions => SUCCESS: Things go well 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
38 lines
1.6 KiB
Text
38 lines
1.6 KiB
Text
# Apache configuration settings that are shared for every Koha instance.
|
|
# This file contains settings for the intranet site.
|
|
#
|
|
# This file should be included from an instance's
|
|
# /etc/apache2/site-available file, from within the VirtualHost section
|
|
# for the intranet.
|
|
|
|
DocumentRoot /usr/share/koha/intranet/htdocs
|
|
|
|
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/"
|
|
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
|
|
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl"
|
|
|
|
# Protect dev package install
|
|
RewriteEngine on
|
|
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]
|
|
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
|
|
RewriteRule ^(.*)_[0-9]{2}\.[0-9]{7}\.(js|css)$ $1.$2 [L]
|
|
|
|
RewriteRule ^/cgi-bin/koha/erm/.*$ /cgi-bin/koha/erm/erm.pl [PT]
|
|
RewriteCond %{REQUEST_URI} !^/cgi-bin/koha/preservation/.*.pl$
|
|
RewriteRule ^/cgi-bin/koha/preservation/.*$ /cgi-bin/koha/preservation/home.pl [PT]
|
|
RewriteRule ^/cgi-bin/koha/admin/record_sources(.*)?$ /cgi-bin/koha/admin/record_sources.pl$1 [PT]
|
|
|
|
Alias "/api" "/usr/share/koha/api"
|
|
<Directory "/usr/share/koha/api">
|
|
Options +ExecCGI +FollowSymlinks
|
|
AddHandler cgi-script .pl
|
|
|
|
SetEnv MOJO_MODE "production"
|
|
|
|
RewriteBase /api/
|
|
RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl
|
|
RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L]
|
|
</Directory>
|