Hi Jake, in Tomcat 8 a rewrite is possible.
In the context in server.xml define <Valve className="org.apache.catalina.valves.rewrite.RewriteValve" />Add a rewrite.config to the path of e.g. [tomcat-path]/xmlui/WEB-INF/rewrite.config with this contents
RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] and restart tomcat.Or just google around for "tomcat 8 rewrite valve", there are some samples which might fit your config.
CU Michael Am 06.11.18 um 16:09 schrieb Cameron, Jacob:
We don’t want SOLR available publically, and it is secured only to the localhost. However, when I forced HTTPS our DSpace instance in Tomcat, it started causing the 302 errors with SOLR. I guess I’m going to have to install Apache httpd or nginx to handle the certificate. I was hoping to get away with just using tomcat.
-- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/--- 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+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature