The solution is to change the hostname inside the file
WEB-INF/applicationContext.xml of the expanded fedora.war
The section is:
<bean class="org.fcrepo.server.config.Parameter">
<constructor-arg type="java.lang.String"
value="fedoraServerHost">
<!-- Defines the host name for the Fedora server, as seen
from the
outside world. -->
</constructor-arg>
<property name="value" value="localhost" />
</bean>
Regards,
Enrico Anello
Food and Agriculture Organization of the United Nations
Via Delle Terme di Caracalla, 00100 Rome - Italy
On 07/11/2012 05:00 PM, Anello, Enrico (OEKM) wrote:
Dear all,
I have a fresh installation of fedora-3.6 snapshot. I was trying to
change the configuration on server/config/fedora.fcfg to swap from
base url localhost to the actual server host:
From:
<param name="fedoraServerHost" value="localhost">
To:
<param name="fedoraServerHost" value="server_host_name">
but on restart the backend on http://server_host_name:8080/fedora
still points to http://localhost:8080/fedora which means that it's not
reflecting the change. On the previous versions this manual change was
doing the job fine, so now I'm wondering if with this new version I
need to do something else...
Thanks for the attention and regards,
Enrico Anello
Food and Agriculture Organization of the United Nations
Via Delle Terme di Caracalla, 00100 Rome - Italy
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users