Hi Alan, Thanks for your reponse.
I wrote the url of the production environment working with dspace 1.8.x. We are working in a test environment with version 5.2 and with another url and hostname. I'm sorry for the confusion. As you suggest, I have checked the dspace.hostname in dspace.cfg and I have the public hostname. I think oai module builds some links getting info from the http headers and/or environment, not from the dspace configuration files. Thats the reason why I think I need to make some changes in the code. Any ideas? Thanks!! 2015-06-17 10:47 GMT+02:00 Alan Orth <alan.o...@gmail.com>: > Hi, Domingo. > > It looks like your JSPUI is running on /dspace, so you just need to make > sure you proxy to the OAI application as /oai. The OAI app will use the > same dspace.hostname parameter from dspace.cfg, just like JSPUI and XMLUI, > etc. > > Alan > > On Tue, Jun 16, 2015 at 9:33 AM Domingo Iglesias <digles...@ub.edu> > wrote: > >> Hi, >> >> >> Our dspace box is behind a proxy, so the public name of the repository ( >> diposit.ub.edu) differs from the name of the box dspace is running, that >> is not accessible from internet. >> >> >> >> What is the best way to customize the oai module in order to build the >> response pages with the public repository url instead of the local name? >> >> >> >> Thanks in advance! >> >> >> --- >> Domingo Iglesias >> Universitat de Barcelona >> Area de Tecnologies >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > > > Aquest correu electrònic i els annexos poden contenir informació > confidencial o protegida legalment i està adreçat exclusivament a la > persona o entitat destinatària. Si no sou el destinatari final o la persona > encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, > modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu > rebut aquest correu electrònic per error, us preguem que n’informeu al > remitent i que elimineu del sistema el missatge i el material annex que > pugui contenir. Gràcies per la vostra col·laboració. > > Este correo electrónico y sus anexos pueden contener información > confidencial o legalmente protegida y está exclusivamente dirigido a la > persona o entidad destinataria. Si usted no es el destinatario final o la > persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, > modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha > recibido este mensaje electrónico por error, le rogamos que informe al > remitente y elimine del sistema el mensaje y el material anexo que pueda > contener. Gracias por su colaboración. > > This email message and any documents attached to it may contain > confidential or legally protected material and are intended solely for the > use of the individual or organization to whom they are addressed. We remind > you that if you are not the intended recipient of this email message or the > person responsible for processing it, then you are not authorized to read, > save, modify, send, copy or disclose any of its contents. If you have > received this email message by mistake, we kindly ask you to inform the > sender of this and to eliminate both the message and any attachments it > carries from your account. Thank you for your collaboration. > > -- > > --- > Domingo Iglesias > Universitat de Barcelona > Area de Tecnologies >
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette