Error 403 when accessing DSpace 7.5 from Domain, but works from IP

33 views
Skip to first unread message

Everson Ortega

unread,
May 30, 2023, 11:33:19 AM5/30/23
to dspac...@googlegroups.com
[DSpace 7.5] Initial Information "Backend and Frontend"

They are on the same Linux server, so they have the same IP address and Domain.
Access is via VPN only
IP (private).
Domain (Private).

With our VPN connected we access via IP (Private / corporate Network) everything works correctly! 
We access the Frontend and it does the normal access to the backend, for example, login.

But when we switch to our domain (e.g. domain.private.vpn.com) and access the frontend, 
it works perfectly, but when the frontend tries to access something from the backend it gives an error (Error 403),
for example, on the login screen when trying to authenticate to the backend.

We make the changes from the IP to the domain only in the files :
config.prod.yml (Before)
  ui:
  ssl: false
  host: 192.168.10.10
  port: 4000

local.cfg (Before)
  dspace.ui.url = http://192.168.10.10:4000

config.prod.yml (After)
  ui:
  ssl: false
  port: 4000
 
local.cfg (After)

Reply all
Reply to author
Forward
0 new messages