https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420
--- Comment #17 from David Cook <[email protected]> --- For Liz's use case: To test: - mkdir /var/lib/koha/kohadev/public_html - create an alias in your /etc/apache2/sites-enabled/kohadev.conf file for something like files Alias /files "/var/lib/koha/kohadev/public_html/" <Directory "/var/lib/koha/kohadev/public_html/"> Options +Indexes AuthUserFile /var/lib/koha/kohadev/.htpasswd AuthName ByPassword AuthType Basic <Limit GET POST PUT> require valid-user </Limit> </Directory> - make a .htpasswd file: https://hostingcanada.org/htpasswd-generator/ and put it in /var/lib/koha/kohadev - service apache2 reload - navigate to http://localhost:8080/files/, note that the response header in the browser inspector says "200 OK" and the basic auth user/pass is not shown - Apply this patch, restart the things - navigate to http://localhost:8080/files/, note that the response header in the browser inspector says "401 Unauthorized" and the basic auth user/pass is now shown -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
