Paul, We are using a combination of JK-Connectors and Apache Allow/Deny access restrictions in virtual hosts.
Bob -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Tuesday, July 09, 2013 8:13 PM To: [email protected] Subject: Fedora-commons-users Digest, Vol 77, Issue 1 Send Fedora-commons-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/fedora-commons-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Fedora-commons-users digest..." Today's Topics: 1. How to use rubydora for creating a specialized page-object RELS-EXT? (Randy Fischer) 2. I am having problems with pid patterns (Bias, James) 3. Hardening Fedora URLs (Grotevant, Paul F) 4. Re: Hardening Fedora URLs (Peter Murray) 5. Problem using fedora-rebuild.sh (Bengt Neiss) 6. Issue on REST API upload fedora 3.6 (Harry Sidhunata) ---------------------------------------------------------------------- Message: 1 Date: Thu, 20 Jun 2013 11:37:14 -0400 From: Randy Fischer <[email protected]> Subject: [fcrepo-user] How to use rubydora for creating a specialized page-object RELS-EXT? To: "Support and info exchange list for Fedora users." <[email protected]> Message-ID: <cagxkcm6g2p1thv_8jgxnqae1dnrvieczxvzd6ujuyemvb2q...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I'm using rubydora to load and associate page objects for the Islandora book content model. I do not understand how to add some of the data to the RELS-EXT datastream. For the example RELS-EXT below, adding an entry for 'islandora:isPageOf' to the RELS_EXT constant in the relationships_mixin.rb works (though surely that's not the best method, having to modify rubydora code). However, I'm at a loss adding those elements that include text - isPageNumber, isSequenceNumber, etc What should I be looking at? Just replacing the entire datastream? Here's an example of the kind of RELS-EXT I'm trying to achieve: <rdf:RDF xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:islandora="http://islandora.ca/ontology/relsext#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/islandora:1286"> <fedora:isMemberOf rdf:resource="info:fedora/islandora:1285"/> <fedora-model:hasModel rdf:resource="info:fedora/islandora:pageCModel"/> <islandora:isPageOf rdf:resource="info:fedora/islandora:1285"/> <islandora:isSequenceNumber> 1 </islandora:isSequenceNumber> <islandora:isPageNumber> 1 </islandora:isPageNumber> <islandora:isSection> 1 </islandora:isSection> <islandora:hasLanguage> eng </islandora:hasLanguage> <islandora:preprocess> false </islandora:preprocess> </rdf:Description> </rdf:RDF> Thanks, Randy Fischer -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Fri, 21 Jun 2013 17:39:28 +0000 From: "Bias, James" <[email protected]> Subject: [fcrepo-user] I am having problems with pid patterns To: "[email protected]" <[email protected]> Message-ID: <75967481fe40c7458d967b1e2422a5b5678a5...@e14mbx22n.enterprise.emory.net> Content-Type: text/plain; charset="us-ascii" how can I create a pid pattern that will match emory: but not emory-control: Also who does cloud sync have issues with our control objects? I have tried all the settings they wont copy. ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ------------------------------ Message: 3 Date: Thu, 27 Jun 2013 21:30:42 +0000 From: "Grotevant, Paul F" <[email protected]> Subject: [fcrepo-user] Hardening Fedora URLs To: Support and info exchange list for Fedora users. <[email protected]> Message-ID: <cdf21932.511a0%[email protected]> Content-Type: text/plain; charset="us-ascii" Good afternoon, We want to restrict access to certain internal URLs on our Fedora instance to authenticated administrators only. For example, the Resource Index search page: http://example.com/fedora/risearch And the method list page for each object, for example: http://example.com/fedora/objects/foobar:100/methods Any best practice recommendations or sample configuration is appreciated. Thanks, Paul -- Paul Grotevant, Senior Software Developer/Analyst University of Texas Libraries / IT Architecture and Strategy [email protected] 512-495-4374 ------------------------------ Message: 4 Date: Sun, 30 Jun 2013 22:14:25 -0400 From: Peter Murray <[email protected]> Subject: Re: [fcrepo-user] Hardening Fedora URLs To: Support and info exchange list for Fedora users. <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" We're hiding the whole Java Servlet container (which holds Fedora Commons, SOLR, djatoka, etc.) from public access via a configuration stanza in the container's server.xml file. For instance: https://github.com/lyrasis/reposervice/blob/master/sed_templates/binaries%23tomcat%23conf/server.xml#L71 We then use SSH to tunnel to localhost:8080 on the server in order to get access: ssh -fNg -L 18080:localhost:8080 hostname.goes.here Peter On Jun 27, 2013, at 4:30 PM, "Grotevant, Paul F" <[email protected]> wrote: > Good afternoon, > > We want to restrict access to certain internal URLs on our Fedora > instance to authenticated administrators only. > > For example, the Resource Index search page: > > http://example.com/fedora/risearch > > And the method list page for each object, for example: > > http://example.com/fedora/objects/foobar:100/methods > > > Any best practice recommendations or sample configuration is appreciated. > > Thanks, > Paul -- Peter Murray Assistant Director, Technology Services Development LYRASIS [email protected] +1 678-235-2955 800.999.8558 x2955 ------------------------------ Message: 5 Date: Tue, 9 Jul 2013 12:29:09 +0000 From: Bengt Neiss <[email protected]> Subject: [fcrepo-user] Problem using fedora-rebuild.sh To: "[email protected]" <[email protected]> Message-ID: <F52230A186DA59469E8E21CF80FE6D4D0FA1A4DD@srvvm305> Content-Type: text/plain; charset="us-ascii" Hi all, We are trying to rebuild a resource index on a remote Mulgara instance. The Mulgara instance is on a server of its own and we try to rebuild approximately 5 million triples. What happens is that the rebuild script starts up as it should but after about 500 000 triples built it slows down and seems be in a flush-wait-flush state. After another 100 000 triples the rebuild crashes with a java.lang.outofmemory error (heap space in SAX parser if I remember correctly). We have tried to increase the memory setting in env-server.sh but without any luck. Both servers runs on Redhat 6 and the following versions of software are used: Fedora-Commons 3.6 Mulgara 2.1.12 Does anyoneknow if this a known issue? Or have any suggestions on how to solve this? //Bengt --------------------------------------------------------- Bengt Neiss Kungl. Biblioteket / National Library of Sweden Phone: +46 (0)10 709 35 41 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Wed, 10 Jul 2013 00:12:05 +0000 From: Harry Sidhunata <[email protected]> Subject: [fcrepo-user] Issue on REST API upload fedora 3.6 To: "[email protected]" <[email protected]> Message-ID: <22cc1a1554d0ab43941ef09f8221fa781556d...@infpwxm002.ad.unsw.edu.au> Content-Type: text/plain; charset="us-ascii" Hi All, I have a bit of problem when trying to upload file using REST upload to fedora 3.6 (https://wiki.duraspace.org/display/FEDORA36/REST+API#RESTAPI-Upload). The response for the upload always HTTP 400 error code. I am using the script on link below and it works on Fedora version 3.4.2 http://www.codejava.net/java-se/networking/upload-files-by-sending-multipart-request-programmatically Could someone let me know if there is something that I did wrong to upload file to Fedora 3.6? Are there any additional spring setting that I need to modified on Fedora 3.6.2? Regards, Harry -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk ------------------------------ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users End of Fedora-commons-users Digest, Vol 77, Issue 1 *************************************************** ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
