Please help to set up Dspace for external access. How not to use port 8080?
In the local network, everything works.
Hello!
It would not be really a good idea to open Tomcat port 8080 or even configure it to secure connection on some other (8443 etc) and open it.
We have configured dspace to acces http(s) backend on url
containing the path /server on common 443 https port.
In .../config/local.cfg it's parameter:
dspace.server.url = https://{{repository.institution.xx}}/server
We use Apache that we have set to redirect the path /server to
local :8080 port using Proxy:
ProxyPass "/server" "http://localhost:8080/server"
ProxyPassReverse "/server" "http://localhost:8080/server"
In similar way using Apache proxy we have also configured an
access to OAI server (we offer more possibilities of url syntax as
to word "request" or slash:
ProxyPass "/oai" "http://localhost:8080/server/oai"
ProxyPassReverse "/oai" "http://localhost:8080/server/oai"
ProxyPass "/oai" "http://localhost:8080/server/oai/?"
ProxyPassReverse "/oai"
"http://localhost:8080/server/oai/request?"
ProxyPass "/oai" "http://localhost:8080/server/oai?"
ProxyPassReverse "/oai"
"http://localhost:8080/server/oai/request/?"
It all works and I hope it could be applicable to other environments too.
Best,
Matyas F. Bajger
library systems IT administrator
University of Ostrava, University Library
https://library.osu.eu
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/0a3f603f-aea6-473f-b9ad-68739d14ad92n%40googlegroups.com.