Lines 82-99
Link Here
|
82 |
ErrorDocument 404 /cgi-bin/koha/errors/404.pl |
82 |
ErrorDocument 404 /cgi-bin/koha/errors/404.pl |
83 |
ErrorDocument 500 /cgi-bin/koha/errors/500.pl |
83 |
ErrorDocument 500 /cgi-bin/koha/errors/500.pl |
84 |
|
84 |
|
85 |
# Rewrite Rules |
85 |
<IfModule mod_rewrite.c> |
86 |
RewriteEngine On |
86 |
# Rewrite Rules |
87 |
|
87 |
RewriteEngine On |
88 |
# Uncomment to turn on rewrite logging |
88 |
|
89 |
# RewriteLog __LOG_DIR__/koha-opac-rewrite.log |
89 |
# Uncomment to turn on rewrite logging |
90 |
# RewriteLogLevel 1 |
90 |
#RewriteLog __LOG_DIR__/koha-opac-rewrite.log |
91 |
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) |
91 |
#RewriteLogLevel 1 |
92 |
RewriteRule (.+) $1?%1%2 [N,R,NE] |
92 |
|
93 |
|
93 |
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) |
94 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] |
94 |
#RewriteRule (.+) $1?%1%2 [N,R,NE] |
95 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
95 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] |
96 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
96 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
|
|
97 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
98 |
</IfModule> |
97 |
</VirtualHost> |
99 |
</VirtualHost> |
98 |
|
100 |
|
99 |
## Intranet |
101 |
## Intranet |
Lines 166-179
Link Here
|
166 |
</IfModule> |
168 |
</IfModule> |
167 |
</IfModule> |
169 |
</IfModule> |
168 |
|
170 |
|
169 |
RewriteEngine On |
171 |
<IfModule mod_rewrite.c> |
170 |
# Uncomment to turn on rewrite logging |
172 |
# Rewrite Rules |
171 |
# RewriteLog __LOG_DIR__/koha-intranet-rewrite.log |
173 |
RewriteEngine On |
172 |
# RewriteLogLevel 1 |
174 |
|
|
|
175 |
# Uncomment to turn on rewrite logging |
176 |
#RewriteLog __LOG_DIR__/koha-intranet-rewrite.log |
177 |
#RewriteLogLevel 1 |
173 |
|
178 |
|
174 |
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) |
179 |
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*) |
175 |
RewriteRule (.+) $1?%1%2 [N,R,NE] |
180 |
#RewriteRule (.+) $1?%1%2 [N,R,NE] |
176 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] |
181 |
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] |
177 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
182 |
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] |
178 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
183 |
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] |
|
|
184 |
</IfModule> |
179 |
</VirtualHost> |
185 |
</VirtualHost> |
180 |
- |
|
|