On Tue, Mar 29, 2022 at 09:26:07PM -0700, Phillip jan wrote: > I have successfully setup a reverse proxy on both apache/tomcat and both > port 80 and 443 loads the REST API. I have already got my SSL certificate > from certbot and I've configured a virtualhost that listens on 443However, > admin login works only if i use a virtualhost that is running on port 80 > but not when I login on a virtualhost that is running on port 443 (with > ssl). Basically, I can only login to my REST API only if it is on HTTP but > not when it is on HTTPS. > > I checked my access logs and it returns: > > 127.0.0.1 - - [time/date] "POST /server/api/authn/login HTTP/1.1" 403 501 > "https://[domainname]server/login.html" "Mozilla/5.0 (X11; Linux x86_64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Safari/537.36" > > > Additional Info: > > my /etc/hosts looks like, > > 127.0.0.1 [domain name] > 127.0.0.1 localhost > private IPV4 [domain name]
HTTP 403 means that the server is configured to refuse access to that path by that host on that port. Your HTTP and HTTPS configurations do not have the same access rules set. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/YkQ%2BuHGTVl74c%2BdD%40IUPUI.Edu.
signature.asc
Description: PGP signature