Hi, George, by any chance are you putting your Tomcat server behind a
reverse proxy? If so, you'll probably want to drop the security constraint
for the REST-API, since you don't need to encrypt traffic between the
reverse proxy and Tomcat. Here's an example of what I mean:

https://github.com/UCLALibrary/DSpace/pull/18/files

Now, be careful, do *not* drop that constraint if you're exposing Tomcat to
the world. :-)

--Hardy

On Mon, Jan 22, 2018 at 12:30 PM, George Kozak <[email protected]> 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 <(607)%20255-8924>
> [email protected]
>
> --
> 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.
>

-- 
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