[Users] GeoExplorer, proxy folder permissions

David Winslow dwinslow at opengeo.org
Mon Aug 3 04:26:28 CEST 2009


When using mod_python, the apache web server will be running the script,
so the apache user needs read access to the python script.  Apache
settings could also cause a 403, but generally won't be that restrictive
if you have not set them yourself.  For the record, my permissions look
like this (dwins being the user I used to download the script
originally): 

$ ls -la /var/www/proxy/
total 12
drwxr-xr-x. 2 apache root  4096 2009-07-24 15:26 .
drwxr-xr-x. 8 root   root  4096 2009-07-24 15:06 ..
-rw-rw-r--. 1 apache dwins 3370 2009-07-24 15:26 proxy.py

Even if you have it configured properly, you will still get 403 errors
if you are trying to access non-OGC mimetypes.  Try a known-good URL
like this one:

http://localhost/proxy/?url=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%
2Fows%2F%3FSERVICE%3DWMS%26REQUEST%3DGetCapabilities

And make sure it's not just an issue with the mimetype restriction.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Sun, 2009-08-02 at 18:42 -0700, Joe Larson wrote:
> what are the proper permissions to set for /proxy/ i.e. /var/www/proxy
> with GeoExplorer a la http://svn.opengeo.org/util/proxy/proxy.py ? is
> this an Apache setting or just filesystem folder/files permissions
> setting?
> 
> -thanks, joe
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list