KOHA
Zotero WebDAV server: Revision 7
Zotero is a free, easy-to-use Firefox extension IzazovProblem (err, izazov) je u tome da želimo imati Zotero koji se autorizira WebDAV-om koristeći račune iz Kohe. Jedna od mogućnosti je koristiti jednostavno AAIEdu LDAP server ali onda nemamo korisnike koji su samo u Kohi. Druga ideja je bila koristiti libapache2-mod-auth-mysql za autorizaciju direktno na Koha bazu, ali nažalost izgleda da se neda konfigurirati za isti oblik md5 hash-a passworda koji koristi koha (sigh) Ostatak uputa je strgan (i/ili star) dok ne rješim problem! http://bugs.rot13.org/rt/Ticket/Display.html?id=397 Za korisnike ZoteraInstall Zotero Firefox plugin 2.0Podešavanje serveraApache kao SSL proxydpavlin@koha-dev:~$ sudo a2enmod proxy_http Considering dependency proxy for proxy_http: Enabling module proxy. Enabling module proxy_http. Run '/etc/init.d/apache2 restart' to activate new configuration! <Proxy *> Order deny,allow # Deny from all # Allow from localhost Allow from all </Proxy> ProxyRequests on ProxyPass /zotero http://localhost:4242/zotero ProxyPassReverse /zotero http://localhost:4242/zotero Apache WebDAVdpavlin@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 authdpavlin@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 Directorydpavlin@koha-dev:~$ sudo mkdir /srv/zotero Apache vhostdpavlin@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> dpavlin@koha-dev:/etc/apache2/sites-enabled$ sudo a2ensite zotero-dev.vzb.ffzg.hr Testdpavlin@koha-dev:~$ sudo apt-get install cadaver dpavlin@koha-dev:~$ cadaver http://zotero-dev.rot13.org |