Philip, this configuration works fine for me:

<!-- Define the default virtual host
           Note: XML Schema validation will not work with Xerces 2.2.
       -->
<Host name="localhost"  appBase="/extra/data/dspace/webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
<!-- Make the XMLUI app the default -->
<Context path="" docBase="xmlui"/>

Our environment is DSpace 1.7.2, Tomcat 6.0.32. I am not using Apache, however.

Regards,
Scott

On 9/20/2011 10:47 AM, Shafer, Philip wrote:
I am trying to run xmlui as the default context when someone visits our server 
root URL.  I am using tomcat6, apache httpd, and mod_proxy.

We can visit the site fine by going to http://dspace.rowan.edu/xmlui, however I 
cannot seem to configure things properly so that when a user visits 
http://dspace.rowan.edu the xmlui app is the default conext.

I hope this makes sense, I appreciate any help you can provide.

In tomcat6 server.xml I have the following set up:

<Host name="dspace.rowan.edu"  
appBase="/disk2/ApplicationStack/dspace-1.7.1/webapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">

         <!-- SingleSignOn valve, share authentication between web applications
              Documentation at: /docs/config/valve.html -->
         <!--
         <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
         -->

         <!-- Access log processes all example.
              Documentation at: /docs/config/valve.html -->
         <!--
         <Valve className="org.apache.catalina.valves.AccessLogValve" 
directory="logs"
                prefix="localhost_access_log." suffix=".txt" pattern="common" 
resolveHosts="false"/>
         -->

</Host>

The following is in the httpd conf:

<Location /xmlui>
         ProxyPass ajp://localhost:8009/xmlui
         ProxyPassReverse ajp://localhost:8009/xmlui
</Location>

<Location /oai>
         ProxyPass       ajp://localhost:8009/oai
         ProxyPassReverse        ajp://localhost:8009/oai
</Location>

<Location /solr>
         ProxyPass       ajp://localhost:8009/solr
         ProxyPassReverse        ajp://localhost:8009/solr
</Location>


Thanks,

-Phil

-------------------------
Philip Shafer
Web Developer
Rowan University
Library Services
Ph: 856-256-4418
E-mail: [email protected]



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Scott Thurston                  [email protected]
NOAA / NGDC / WDC               http://www.ngdc.noaa.gov/
Marine Geology&  Geophysics 303-497-4411 (phone)
325 Broadway E/GC3              303-497-6513 (fax)
Boulder, CO 80305-3337


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to