Re: [Dspace-tech] Changing default url
On Mon, Dec 01, 2008 at 09:16:42AM +1100, Gary Browne wrote: The other consideration relates to the port 8080 part of your URL. If you want to get rid of this then you need to have your Apache HTTPD server use something like mod_proxy_ajp to redirect (configurably) port 80 requests to port 8080 The O.P didn't say whether the site is running Tomcat behind HTTPD. If not, then changing the port would require reconfiguring the affected Connector element in Tomcat's server.xml, changing the 'port=8080 to 'port=80' (and 'redirectPort=8443' to 'redirectPort=443'). If SSL is to be used, another Connector will need 'port=8443' changed to 'port=443'. On a Unix system, these changes would require that Tomcat be started as a privileged user in order to have access to those low-numbered ports. I don't know how the O.P.'s Windows server environment affects that. On Unix there is a 'jsvc' wrapper which can be used to invoke Tomcat's startup methods as root (which will open the listening sockets), get control back, change UID to something less privileged, and invoke Tomcat's main loop, so that the service actually runs with less privilege but still can open listening sockets on privileged ports. If there is a need to do this on Windows, there is probably a way to do it, but again I don't run Tomcat on Windows and can't give specific advice there. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Friends don't let friends publish revisable-form documents. pgpUZfsJnWCNN.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace/Lucene removing suffixes when searching?
Hi, We're using Dspace 1.4.2 with the Lucene that's shipped with it. We don't know if it's a matter of configuration (apparently not) but Dspace (or Lucene) is removing (common) suffixes from words before searching. For example (removing ações) 2008-12-01 17:44:04,120 INFO org.dspace.search.DSQuery @ Final query string: +(((title:alterações))) +location:m72 2008-12-01 17:44:04,129 INFO org.dspace.search.DSQuery @ Search[+title:alter +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] Or: (again ações) 2008-12-01 17:44:58,857 INFO org.dspace.search.DSQuery @ Final query string: +(((title:modificações))) +location:m72 2008-12-01 17:44:58,887 INFO org.dspace.search.DSQuery @ Search[+title:modific +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] With these words it wouldn't matter (as sometimes you don't know exactly the title that you are searching but when you search for author Laura, it also returns results for Lauro, when there ARE results for Laura (if there wasn't any I would understand). 2008-12-01 17:49:37,522 INFO org.dspace.search.DSQuery @ Final query string: +(((tdautor:laura))) +location:m72 2008-12-01 17:49:37,530 INFO org.dspace.search.DSQuery @ Search[+tdautor:laur +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] Is there any way to disable this through configuration or through Dspace or is it natural to Lucene? Thanks, Rafael - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace/Lucene removing suffixes when searching?
Hi Rafael, Have a look for the “search.analyzer = “ line in your dspace.cfg file. The default is to use a standard English analyzer: search.analyzer = org.dspace.search.DSAnalyzer You’ll probably find that you have a Brasilian Portuguese analyser being used, and it’s “helpfully” doing stemming, gender analysis on words, etc., which perhaps you don’t want? The only downside you’ll encounter going to the default DSAnalyzer is that characters like ç and õ won’t be automatically filtered to ‘c’ and ‘o’, which might make it difficult for people searching your site with non-international/extended keyboard layouts. It is possible to easily hack DSAnalyzer.java to include just the filters you want, without doing full stemming, stop-words, etc. I’ve done this on our repositories to filter out macronised vowels which are common to words in Māori. If you really don’t want the full Portuguese search analyzer but do want the extended Latin characters filtered, I suggest sticking with DSAnalyzer and adding ISOLatin1AccentFilter.java (available from Lucene) to the list of filters used. It may be just as easy to hack org.apache.lucene.analysis.br (http://www.docjar.com/docs/api/org/apache/lucene/analysis/br/package-index.html) to only stem the words you want it to. Cheers, Kim From: Rafael Henkin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 December 2008 8:46 a.m. To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] DSpace/Lucene removing suffixes when searching? Hi, We’re using Dspace 1.4.2 with the Lucene that’s shipped with it. We don’t know if it’s a matter of configuration (apparently not) but Dspace (or Lucene) is removing (common) suffixes from words before searching. For example (removing “ações”) 2008-12-01 17:44:04,120 INFO org.dspace.search.DSQuery @ Final query string: +(((title:alterações))) +location:m72 2008-12-01 17:44:04,129 INFO org.dspace.search.DSQuery @ Search[+title:alter +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] Or: (again “ações”) 2008-12-01 17:44:58,857 INFO org.dspace.search.DSQuery @ Final query string: +(((title:modificações))) +location:m72 2008-12-01 17:44:58,887 INFO org.dspace.search.DSQuery @ Search[+title:modific +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] With these words it wouldn’t matter (as sometimes you don’t know exactly the title that you are searching but when you search for author Laura, it also returns results for Lauro, when there ARE results for Laura (if there wasn’t any I would understand). 2008-12-01 17:49:37,522 INFO org.dspace.search.DSQuery @ Final query string: +(((tdautor:laura))) +location:m72 2008-12-01 17:49:37,530 INFO org.dspace.search.DSQuery @ Search[+tdautor:laur +location:m72], sort by (sorttitle), Result: [EMAIL PROTECTED] Is there any way to disable this through configuration or through Dspace or is it natural to Lucene? Thanks, Rafael - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] recognise user by IP address
Hello, please excuse my ignorance about dspace, I am new here. What do people think to the idea of identifying users by their IP address? This would be an alternative to logging in via the traditional username+password. This would be associated with an administrative function that registered user groups with IP address ranges. -- Regards, Andrew M. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Updating from 1.5 to 1.5.1
Stanley Laufer wrote: The 1.5.1 documentation unfortunately does not include a section on updating from 1.5 to 1.5.1: http://www.dspace.org/1_5_1Documentation/ch04.html Does anyone know if there's any documentation available on updating from 1.5 to 1.5.1? Thanks in advance for any replies. Stanley E. Laufer Network Administrator School of Library and Information Science San Jose State University - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech Here are our notes from updating a DSpace installation on an Ubuntu Linux 8.04 Server, hope it helps; Updating the DSpace configuration requires not only an update of the dspace.cfg file but also an update of the DSpace compiled files. Download; # wget http://transact.dl.sourceforge.net/sourceforge/dspace/dspace-1.5.1-release.tar.gz Reconfigure the Dspace.cfg file; # vim /path/to/dspace/install/config/dspace.cfg dspace.dir = /path/to/dspace/install dspace.url = http://localhost:8180/site_name dspace.name = Your DSpace Site Name db.password = *** db.url = jdbc:postgresql://localhost:5432/db_name default.language = en_GB assetstore.dir = /path/to/assets log.dir = /path/to/logs search.dir = /path/to/search handle.dir = /path/to/handle-server report.dir = /path/to/reports upload.temp.dir = /path/to/upload mail.server=mail.server.url mail.from.address = [EMAIL PROTECTED] mail.admin = [EMAIL PROTECTED] To compile the new version; # cd /path/to/dspace-1.5.1-release/dspace/ # sudo mvn package To update the configuration; # cd /path/to/dspace-1.5.1-release/dspace/target/dspace-1.5.1-build.dir/ # sudo ant -Dconfig=/path/to/dspace/install/config/dspace.cfg update # sudo /etc/init.d/tomcat5.5 force-reload Hope this helps. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search on a filename
Gagan mandayam wrote: Hi DSpacers, How to *search for a particular submitted file, based on its name*? For example, if a file's name is 'Mill Data Sheet', and I search by typing a part string, say 'Mill', it should list out all the files/items present across the entire communities/collections. ( of course, each file is internally a bitstream ). gagan m, Bangalore hi, Gagan, If your bitstream filenames are not stored within DC metadata it is not searchable. Bitstream filenames are stored in db table bitstream. If you really need this function, you have to program it by writing custom queries. Another way out is to include the filename in DC and include this field in indexing. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] recognise user by IP address
Hi Andrew, please excuse my ignorance about dspace, I am new here. What do people think to the idea of identifying users by their IP address? This would be an alternative to logging in via the traditional username+password. This would be associated with an administrative function that registered user groups with IP address ranges. As Allen pointed out in a previous reply, for general single user authentication (e.g. allowing a user to submit items in a particular collection) it would not make a good choice. However for more general authentication (e.g. allowing all users on your university campus to read items in a protected collection) it would make a good authentication method as it would mean that many users can get away without the need for a DSpace account - they can be given access because because of the machine they are using. This is a commonly used method by publishers of electronic materials to grant access to subscribing institutions. DSpace has a stackable authentication system making it easy to add new authentication methods and enable users to choose which method they log in with. An IP authentication method has been distributed with DSpace since version 1.5. See: http://www.dspace.org/1_5_1Documentation/DSpace-Manual.pdf page 83. However at present I believe there are a few issues with it, such as: https://sourceforge.net/tracker/?func=detailatid=119984aid=2088431group_i d=19984 If you try it out, we'd love to hear your feedback about it in order that we can improve it. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] recognise user by IP address
Hi Andrew, you can add ip based authentication to the authentication stack in DSpace and define authentication rules via the config parameter authentication.ip.GROUPNAME = iprange[, iprange ...]. Claudia Jürgen Andrew Marlow schrieb: Hello, please excuse my ignorance about dspace, I am new here. What do people think to the idea of identifying users by their IP address? This would be an alternative to logging in via the traditional username+password. This would be associated with an administrative function that registered user groups with IP address ranges. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech