KOHA
Zotero WebDAV server: Revision 4

Zotero is a free, easy-to-use Firefox extension
to help you collect, manage, and cite your research sources. It lives right where you do
your work—in the web browser itself.



Za korisnike Zotera

Install Zotero Firefox plugin 2.0

install

Podešavanje servera

Apache WebDAV

dpavlin@koha-dev:~$ sudo a2enmod dav_fs dav
Considering dependency dav for dav_fs:
Enabling module dav.
Enabling module dav_fs.
Module dav already enabled
Run '/etc/init.d/apache2 restart' to activate new configuration!
dpavlin@koha-dev:~$ sudo /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting.

Apache auth

dpavlin@koha-dev:~$ sudo apt-get install libapache2-mod-auth-mysql

dpavlin@koha-dev:~$ sudo a2enmod auth_mysql
Enabling module auth_mysql.
Run '/etc/init.d/apache2 restart' to activate new configuration!
dpavlin@koha-dev:~$ sudo /etc/init.d/apache2 restart

Directory

dpavlin@koha-dev:~$ sudo mkdir /srv/zotero

Apache vhost

dpavlin@koha-dev:~$ cat /etc/apache2/sites-available/zotero-dev.vzb.ffzg.hr 
<VirtualHost *>
        ServerName zotero-dev.vbz.ffzg.hr
        DocumentRoot /srv/zotero
        <Directory /home/srw/example.com>
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

                Auth_MySQL_Info localhost LOGIN PASSWORD

        <Location />

                Auth_MYSQL on

                Auth_MySQL_Password_Table borrowers
                Auth_MySQL_Username_Field userid
                Auth_MySQL_Password_Field password
                Auth_MySQL_Empty_Passwords off
                Auth_MySQL_Encryption_Types Crypt_MD5
                #PHP_MD5

                DAV On
                AuthType Basic
                AuthName "Zotero WebDAV server - use Koha login and password"
                Require valid-user

        </Location>

</VirtualHost>



Test

dpavlin@koha-dev:~$ sudo apt-get install cadaver

dpavlin@koha-dev:~$ cadaver http://zotero-dev.rot13.org