Hi,

It sounds like you are having other problems, George, but I just struggled 
with Dspace's Rest interface, and I can confirm the Apache 
Proxy/ReverseProxy problem.  That stumped me for a while, because we are 
running https through Apache, and I thought I should leave the https in.  
But we are not using https for Tomcat, of course (duh!), since it is 
running behind Apache - so I had to comment out the https segment in the 
Rest config before I could get it to work.  I have tomcat configured to 
listen only on localhost, so I can now access the Rest interface only on 
that machine.  I use curl on the command line.  Everything works.  But I 
have not included rest in the Proxy/ReverseProxy list for Apache, so it is 
not available in the browser.  I get a 404 just like you do, George.  I do 
not want everyone to be able to use it online, so this suits me.  

I post this because these kinds of fine points can be overlooked.  I hope 
it helps someone.

Best regards,
Paul


On Monday, January 22, 2018 at 7:30:22 PM UTC+1, George Kozak wrote:
>
> Hi...
> I wrote about this back on January 8th, but didn't get any replies...so I 
> am trying again :-)
> In our DSpace 6.2 installation, if I try to access the REST API, the 
> system responds with "Page Not Found" as if I had typed in an inaccurate 
> URL.  It does this even when I try:
> curl https://<my dspace install>/rest/test
>
> In the tomcat server.xml, I have:
> <Context path="/rest" docBase="/[path to my tomcat]/webapps/rest" />  
>
> Does anyone have any ideas why the code would not recognize the REST API?
> (PS: it worked fine in DSpace 5.5)
> Thanks!
>
> -- 
> ***************************
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> [email protected] <javascript:> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to