]> git.koha-community.org Git - koha.git/commit
Bug 18669 - RewriteCond affecting wrong rule in koha-httpd.conf
authorDavid Cook <dcook@prosentient.com.au>
Thu, 25 May 2017 04:37:21 +0000 (14:37 +1000)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 18:43:33 +0000 (06:43 +1200)
commitb5109dba404b2071aff5d007a04568cb3ce477a2
treea7bee3e9634baef2d3bb43745f1f13a3398540f9
parenta74ded24d76f70a0ac0f7afd064514dc49af6ab0
Bug 18669 - RewriteCond affecting wrong rule in koha-httpd.conf

One of the RewriteCond directives in koha-httpd.conf was affecting
the wrong RewriteRule after its original RewriteRule was commented out
years ago.

_TEST PLAN_
0) Before applying patch, build Koha from source
    *) make
    *) make install (or make upgrade)
    *) Copy or symlink etc/koha-httpd.conf to your Apache vhost directory
        (and enable if you're on a Debian based system)
    *) Restart Apache
1) Make sure that you have at least 1 bibliographic record in Koha
(URL like this http://server:port/cgi-bin/koha/opac-detail.pl?biblionumber=1)
2) Go to http://server:port/bib/1
3) Note that you get a 404 error
4) Apply the patch
5) Rebuild Koha from source as per step 0
6) Go to http://server:port/bib/1
7) Note that you now see the same page as you would if you went to
http://server:port/cgi-bin/koha/opac-detail.pl?biblionumber=1

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mason James <mtj@kohaaloha.com>
etc/koha-httpd.conf