Thanks a lot for sharing Mark.

-----Original Message-----
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: 14 August 2013 03:54 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI URL not accessible

On Wed, Aug 14, 2013 at 07:21:53AM +0000, Lewatle Phaladi wrote:
> I have only created ROOT.xml file and in it I have
> 
> #cat ROOT.xml
>  <Context path="/" docBase="[dspace]/webapps/xmlui"
>      debug="0" privileged="true" allowLinking="true"> </Context>

The 'path' attribute should not be used in external context descriptors.  The 
path is computed from the name of the file, and in the special case where the 
name is "ROOT.xml" the path will be "/".

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Naming

> This file is sitting under /tomcat6/apache-tomcat/conf/Catalina/localhost my 
> question is where am I have to put this contents :
> 
> <Context path="/oai" docBase="[dspace]/webapps/oai" debug="0"
>     reloadable="true" cachingAllowed="false"
>     allowLinking="true"/>
> and the file name should be called what name if it is restricted to 
> use certain nameand extension like ROOT.xml

As someone already said:  *instead of* coding path="/oai", name the file 
'oai.xml'.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
style="width:100%;"> 
<tr>
<td align="left" style="text-align:justify;"><font face="arial,sans-serif" 
size="1" color="#999999"><span style="font-size:11px;">This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. </span></font></td>
</tr>
</table>


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to