*Deprecated* See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current documentation

From: Brian Caruso <bdc34@cornell.edu>
Date: October 10, 2012 4:37:36 PM EDT
To: VIVO Development List <vivo-dev-all@lists.sourceforge.net>
Subject: Re: [Vivo-dev-all] vivo alias and path setups
Reply-To: VIVO Development List <vivo-dev-all@lists.sourceforge.net>

At Cornell we host the vivo setup under tomcat at the webapp root. We configure this in the tomcat/conf/server.xm. like this:

<Host name="vivo.cornell.edu"
appBase="webapps"
deployOnStartup="false" unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>vivo.cornell.edu</Alias>
<Alias>www.vivo.cornell.edu</Alias>
<Alias>www.vivo.library.cornell.edu</Alias>
<Alias>vivo.library.cornell.edu</Alias>
<Alias>research.cals.cornell.edu</Alias>
<Alias>vivo-test.mannlib.cornell.edu</Alias>
<Alias>grad.lifesciences.cornell.edu</Alias>
<Alias>www.grad.lifesciences.cornell.edu</Alias>
<Alias>gradeducation.lifesciences.cornell.edu</Alias>
<Alias>www.gradeducation.lifesciences.cornell.edu</Alias>
<Context path=""
docBase="/usr/local/tomcat/webapps/vivo"
reloadable="true"
cookies="true">
<Environment type="java.lang.String" override="false"
name="path.configuration"
value="deploy.properties"/>
</Context>
</Host>

In apache httpd we have a very simple setup for the virtual hosts:

<Location "/loginExternalAuthReturn">
AuthName CORNELL
AuthType all
require valid-user
</Location>
ProxyPass / ajp://localhost:8009/

Brian,

I forwarded this on to our sysadmin, and he added the host name information to the server.xml file for our vivo following your formatting, and after restarting, everything works as it should!

Our apache configuration and proxies all seemed to be right, we were just missing the host in tomcat correctly setup as you outlined.

Thanks for your help,

Stacy

University of Nebraska Lincoln Libraries

  • No labels