Good morning,
The only other possibility I can think of is the context path. We altered ours
to point to the server root instead of the xmlui directory:
<!-- DEFINE A CONTEXT PATH FOR DSpace XML User Interface (Manakin) -->
<Context path="/" docBase="/opt/dspace/webapps/xmlui" debug="0"
reloadable="true" cachingAllowed="false" allowLinking="true"/>
I don’t have much hope for that, but I’ve found that turning stones at random
sometimes helps.
B--
From: Sean Carte [mailto:[email protected]]
Sent: Tuesday, June 24, 2014 1:35 AM
To: dspace-tech
Subject: Re: [Dspace-tech] Umlaut in Search Field Weirdness
On 23 June 2014 16:07, Brian Freels-Stendel
<[email protected]<mailto:[email protected]>> wrote:
We fixed this problem by adding the UTF-8 requirement to the AJP connector in
tomcat’s server.xml file, so, in Tomcat 6:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
enableLookups="false" URIEncoding="UTF-8" />
Hope it’s that simple for you, as well.
Thanks, Brian. I wish it were. Unfortunately that didn't work, but I'm sure
you're on the right track:
This works:
http://ir.dut.ac.za:8080/xmlui/browse?value=Sch%C3%B6nfeld%2C+Victoria-Leigh&type=author
Browsing by Author "Schönfeld, Victoria-Leigh"
But this does not:
http://ir.dut.ac.za/browse?value=Sch%C3%B6nfeld%2C+Victoria-Leigh&type=author
Browsing by Author "Schönfeld, Victoria-Leigh"
The difference is in using or not using the Apache proxy redirect, so it seems
that my proxy redirect is causing the mischief.
In my server.xml, my 8080 connector is:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
... and my 8009 connector (after updating it according to your recommendation)
is:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
enableLookups="false" URIEncoding="UTF-8" />
... and my /etc/apache2/mods-enabled/proxy.conf contains:
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from all
</Proxy>
ProxyPass /cgi-bin !
ProxyPass /c3 !
ProxyPass /awstats-icon !
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
ProxyVia On
</IfModule>
I believe Apache uses UTF-8 by default, but just in case I uncommented the
following line in /etc/apache2/conf.d/charset
AddDefaultCharset UTF-8
I did restart Tomcat and Apache after making the changes.
Any other ideas?
Sean
--
[http://ir.dut.ac.za/ir_static_pages/dut_email_sig.png]
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette