Hi devs, I have just pushed bug 12904 and 2 lines are added to the apache config files. You will need to update your misc4dev repo and reset_all You can also add these 2 lines to the config files: +RewriteRule ^(.*)_(.*).js$ $1.js [N,L] +RewriteRule ^(.*)_(.*).css$ $1.css [N,L] Otherwise you will get 404 for *.js and *.css files! Cheers, Jonathan
Dear RM, do you refer to this files? /etc/koha/apache-shared-intranet-git.conf /etc/koha/apache-shared-opac-git.conf Thanks! El vie., 9 feb. 2018 a las 14:11, Jonathan Druart (< jonathan.druart@bugs.koha-community.org>) escribió:
Hi devs,
I have just pushed bug 12904 and 2 lines are added to the apache config files. You will need to update your misc4dev repo and reset_all
You can also add these 2 lines to the config files: +RewriteRule ^(.*)_(.*).js$ $1.js [N,L] +RewriteRule ^(.*)_(.*).css$ $1.css [N,L]
Otherwise you will get 404 for *.js and *.css files!
Cheers, Jonathan _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Dear Tomas, Indeed I was referring to these files. You can have more information on the misc4dev's commit: https://gitlab.com/koha-community/koha-misc4dev/commit/6304c70307766185b9ed5... On Fri, 9 Feb 2018 at 14:19 Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
Dear RM, do you refer to this files?
/etc/koha/apache-shared-intranet-git.conf /etc/koha/apache-shared-opac-git.conf
Thanks!
El vie., 9 feb. 2018 a las 14:11, Jonathan Druart (< jonathan.druart@bugs.koha-community.org>) escribió:
Hi devs,
I have just pushed bug 12904 and 2 lines are added to the apache config files. You will need to update your misc4dev repo and reset_all
You can also add these 2 lines to the config files: +RewriteRule ^(.*)_(.*).js$ $1.js [N,L] +RewriteRule ^(.*)_(.*).css$ $1.css [N,L]
Otherwise you will get 404 for *.js and *.css files!
Cheers, Jonathan
_______________________________________________
Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 <+54%209%20351%20351-3384> GPG: B2F3C15F
half our team just got their QA afternoon bogged down by that push. Lasted 30 minutes until they made the association with your email. :) I, for one, fully approve of that patch, btw! No more "Please press Ctrl-F5 first thing in the morning!" needed. Philippe Blouin, Responsable du développement informatique Tél. : (888) 604-2627 philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com> On 02/09/2018 12:10 PM, Jonathan Druart wrote:
Hi devs,
I have just pushed bug 12904 and 2 lines are added to the apache config files. You will need to update your misc4dev repo and reset_all
You can also add these 2 lines to the config files: +RewriteRule ^(.*)_(.*).js$ $1.js [N,L] +RewriteRule ^(.*)_(.*).css$ $1.css [N,L]
Otherwise you will get 404 for *.js and *.css files!
Cheers, Jonathan
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hi Philippe, I am very sorry to hear that your guys lost their afternoon. I have announced it to the list and we talked about it on the IRC channel. They are the two channels of communication we have. Why did not they ask us on #koha? I know there is a tradition in our community not to read these emails sent to the list but, as you can see, one minute to read an email can save time, sometimes. Have a good week-end, Jonathan On Fri, 9 Feb 2018 at 16:50 Philippe Blouin <philippe.blouin@inlibro.com> wrote:
half our team just got their QA afternoon bogged down by that push. Lasted 30 minutes until they made the association with your email. :)
I, for one, fully approve of that patch, btw! No more "Please press Ctrl-F5 first thing in the morning!" needed. Philippe Blouin, Responsable du développement informatique
Tél. : (888) 604-2627 philippe.blouin@inLibro.com inLibro | pour esprit libre | www.inLibro.com On 02/09/2018 12:10 PM, Jonathan Druart wrote:
Hi devs,
I have just pushed bug 12904 and 2 lines are added to the apache config files. You will need to update your misc4dev repo and reset_all
You can also add these 2 lines to the config files: +RewriteRule ^(.*)_(.*).js$ $1.js [N,L] +RewriteRule ^(.*)_(.*).css$ $1.css [N,L]
Otherwise you will get 404 for *.js and *.css files!
Cheers, Jonathan
_______________________________________________ Koha-devel mailing listKoha-devel@lists.koha-community.orghttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hi, I had a little trouble finding where to put the new rules. On a non plack, non-packaged, apache install. Here is what I had to do: ======================================= vim /etc/apache2/sites-enabled/koha.conf # Before «REST API configuration» (at two different places) add the following. RewriteRule ^(.*)_[0-9][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$ $1.js [L] RewriteRule ^(.*)_[0-9][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$ $1.css [L] ======================== This includes the fix for bug 20187 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20187 Cheers, -- Victor Grousset, dev support/maintenance BibLibre, Services en logiciels libres pour les bibliothèques BibLibre, Libre/Open Source software and services for libraries
participants (4)
-
Jonathan Druart -
Philippe Blouin -
Tomas Cohen Arazi -
Victor Grousset