Bugzilla – Attachment 71251 Details for
Bug 12904
Force browser to load new JavaScript and CSS files after upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12904: Apache configuration
Bug-12904-Apache-configuration.patch (text/plain), 2.70 KB, created by
Josef Moravec
on 2018-02-06 13:58:22 UTC
(
hide
)
Description:
Bug 12904: Apache configuration
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-02-06 13:58:22 UTC
Size:
2.70 KB
patch
obsolete
>From dca7ac3949356d1bbb1c0e43939943708779f462 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 22 Dec 2016 15:42:30 +0000 >Subject: [PATCH] Bug 12904: Apache configuration > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > debian/templates/apache-shared-intranet.conf | 2 ++ > debian/templates/apache-shared-opac.conf | 2 ++ > etc/koha-httpd.conf | 4 ++++ > 3 files changed, 8 insertions(+) > >diff --git a/debian/templates/apache-shared-intranet.conf b/debian/templates/apache-shared-intranet.conf >index 2117942..0fb4fdb 100644 >--- a/debian/templates/apache-shared-intranet.conf >+++ b/debian/templates/apache-shared-intranet.conf >@@ -17,6 +17,8 @@ RewriteRule (.+) $1?%1%2 [N,R,NE] > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+RewriteRule ^(.*)_(.*).js$ $1.js [N,L] >+RewriteRule ^(.*)_(.*).css$ $1.css [N,L] > > Alias "/api" "/usr/share/koha/api" > <Directory "/usr/share/koha/api"> >diff --git a/debian/templates/apache-shared-opac.conf b/debian/templates/apache-shared-opac.conf >index 0e18bc2..e63ab1c 100644 >--- a/debian/templates/apache-shared-opac.conf >+++ b/debian/templates/apache-shared-opac.conf >@@ -17,6 +17,8 @@ RewriteRule (.+) $1?%1%2 [N,R,NE] > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+RewriteRule ^(.*)_(.*).js$ $1.js [N,L] >+RewriteRule ^(.*)_(.*).css$ $1.css [N,L] > > <IfVersion >= 2.4> > AliasMatch "^/sitemap(.*)" "/var/lib/koha/${instance}/sitemap/sitemap$1" >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index c3b55a4..e5a0b45 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -111,6 +111,8 @@ > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+ RewriteRule ^(.*)_(.*).js$ $1.js [N,L] >+ RewriteRule ^(.*)_(.*).css$ $1.css [N,L] > > # REST API configuration > Alias "/api" "__API_CGI_DIR__" >@@ -228,6 +230,8 @@ > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+ RewriteRule ^(.*)_(.*).js$ $1.js [N,L] >+ RewriteRule ^(.*)_(.*).css$ $1.css [N,L] > > > # REST API configuration >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12904
:
31514
|
31547
|
33287
|
33288
|
33295
|
33296
|
33297
|
33315
|
33317
|
33318
|
33319
|
33320
|
33321
|
33323
|
33324
|
33325
|
33326
|
33327
|
33328
|
48735
|
48736
|
48737
|
48738
|
48739
|
48740
|
48741
|
48742
|
49572
|
54484
|
54485
|
54488
|
54489
|
58378
|
58379
|
58392
|
58393
|
58394
|
58395
|
60826
|
60827
|
60830
|
60831
|
63692
|
63693
|
63694
|
63695
|
63696
|
70830
|
70831
|
70832
|
70833
|
70834
|
70835
|
71250
| 71251 |
71252
|
71253
|
71254
|
71255
|
71822