Lines 14-19
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl"
Link Here
|
14 |
# Protect dev package install |
14 |
# Protect dev package install |
15 |
RewriteEngine on |
15 |
RewriteEngine on |
16 |
RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] |
16 |
RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] |
|
|
17 |
# Do not allow hitting value_builder pages directly |
18 |
RewriteRule ^/cgi-bin/koha/cataloguing/value_builder/ /cgi-bin/koha/errors/403.pl [PT] |
17 |
|
19 |
|
18 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] |
20 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] |
19 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
21 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
Lines 38-41
Alias "/api" "/usr/share/koha/api"
Link Here
|
38 |
RewriteBase /api/ |
40 |
RewriteBase /api/ |
39 |
RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl |
41 |
RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl |
40 |
RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L] |
42 |
RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L] |
41 |
</Directory> |
43 |
</Directory> |
42 |
- |
|
|