Lines 17-19
RewriteRule (.+) $1?%1%2 [N,R,NE]
Link Here
|
17 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] |
17 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] |
18 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
18 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
19 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
19 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
|
|
20 |
|
21 |
Alias "/api" "/usr/share/koha/api" |
22 |
<Directory "/usr/share/koha/api"> |
23 |
Options +ExecCGI +FollowSymlinks |
24 |
AddHandler cgi-script .pl |
25 |
|
26 |
SetEnv MOJO_MODE "production" |
27 |
|
28 |
RewriteBase /api/ |
29 |
RewriteCond %{REQUEST_FILENAME} !-f |
30 |
RewriteCond %{REQUEST_FILENAME} !-d |
31 |
RewriteCond %{DOCUMENT_ROOT}/../api/$1/app.pl -f |
32 |
RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L] |
33 |
</Directory> |