[Geoserver-users] Strange behavior using Anonymous Get with REST behind web proxy.

Hello

I want to get all layers from a given store. So I am using rest to get this.

I already altered the rest.properties to be equal like this:

/;GET=IS_AUTHENTICATED_ANONYMOUSLY
/
;POST,DELETE,PUT=ADMIN

And then I use this URL to get it:
http://localhost:8080/geoserver/rest/workspaces/workspaceA/datastores/storeA/featuretypes.xml

Works fine.

However, when I try to access this info from elsewhere or even the same server using this url: http://myservername:8080/geoserver/rest/workspaces/workspaceA/datastores/storeA/featuretypes.xml

I got this response:

No such workspace: workspaceA

My only guess is the problem is related to our web proxy, because localhost requests don’t go through it.

I found similar problems at the internet, but none of them mentioned webproxy and none have found a solution.

I will try it with a simple application proxy to avoid using the company one. But my guess is it won’t work.

Could you guys help me out?
Thank you.