Thursday, January 30, 2014

Proxy problem (permissions denied)

Hello,    I'm trying to develop a GIS app using Django / OpenLayers / GeoServer.
GeoServer is an open source software server that allows users to share and edit geospatial data.

I'm working on development mode, with development server of Django. The base url of my app is: http://127.0.0.1:8000/ and the GeoServer'url is:
http://127.0.0.1:8080/geoserver

I have defined the ProxyHost on the Client Side as follow: OpenLayers.ProxyHost = "http://127.0.0.1:8000/proxy/?url=";

The code of the proxy that I'm using is here:
https://github.com/GeoNode/geonode/blob/master/geonode/proxy/views.py

Whenever the user try to POST something on the app, the terminal display the following error:
[16/Jan/2014 11:43:22] "POST /proxy/?url=http%3A%2F%2F127.0.0.1%3A8080%2Fgeoserver%2Fwps HTTP/1.1" 403 2282
Status 403 means permissions denied.
How can I fix it ?
Is there anything else to do on the Client or Server side with the proxy ?

Thank you in advance
George

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9cf747b4-9707-44cc-b324-95ab2cfac1b1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment