[OpenLayers-Users] Fwd: my vector data don't show up - wfs

Pedro Costa pedrocostaarma at sapo.pt
Thu Jul 5 08:29:24 PDT 2012


Thanks for helping me.


I move my html files to a ubuntu server for testing and now i can't put 
proxy to work...

Apache give me this error:


(13)Permission denied: exec of '/var/www/pmapper-4.2.0/cgi-bin/proxy.py' 
failed
  Premature end of script headers: proxy.py


Does anybody know the cause?

Thanks




Em 04-07-2012 18:30, Gery . escreveu:
>
> It seems that firefox should be the problem, people tried the php code 
> and that worked for them. The error in firebug gives you something 
> else that may help to trace the source of error?
>
>
> __________________________________________________________________________________________
> Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas 
> si NO es necesario.
> Think green - keep it on the screen. Do NOT print if it is NOT necessary.
> Denken Sie an die Umwelt- bewahren Sie es auf dem Bildschirm. Drucken 
> Sie NICHT, wenn es NICHT notwendig ist.
>
>
> ------------------------------------------------------------------------
> Date: Wed, 4 Jul 2012 18:02:59 +0100
> From: pedrocostaarma at sapo.pt
> To: gamejihou at hotmail.com; openlayers-users at lists.osgeo.org
> Subject: Re: [OpenLayers-Users] Fwd: my vector data don't show up - wfs
>
> Thanks for your help Gery.
>
>
> I'm already tried with others browsers but the wfs doesn't show up.
> I had found some links that you tell me.
> I amtried a lot of alternatives  and I not discovered the problem.
> You think the problem is firefox? If so why not appear in the IE wfs?
>
> I'm confused
>
>
>
>
>
> Em 04-07-2012 17:55, Gery . escreveu:
>
>
>     This one may help you also, it worked for some people out there:
>     http://www.webdeveloper.com/forum/showthread.php?t=187247
>
>     Cheers,
>
>
>
>
>     __________________________________________________________________________________________
>     Piensa en el medio ambiente - mantenlo en la pantalla. NO lo
>     imprimas si NO es necesario.
>     Think green - keep it on the screen. Do NOT print if it is NOT
>     necessary.
>     Denken Sie an die Umwelt- bewahren Sie es auf dem Bildschirm.
>     Drucken Sie NICHT, wenn es NICHT notwendig ist.
>
>
>     ------------------------------------------------------------------------
>     From: gamejihou at hotmail.com <mailto:gamejihou at hotmail.com>
>     To: pedrocostaarma at sapo.pt <mailto:pedrocostaarma at sapo.pt>;
>     openlayers-users at lists.osgeo.org
>     <mailto:openlayers-users at lists.osgeo.org>
>     Subject: RE: [OpenLayers-Users] Fwd: my vector data don't show up
>     - wfs
>     Date: Wed, 4 Jul 2012 16:52:22 +0000
>
>
>     Hi Pedro,
>
>     I was reading about this error in google and it seems that this is
>     one of the solutions, you have to use this: var url =
>     'proxy_php.php?fn=' + encodeURIComponent(src);
>     it seems that the problem is ajax (as far I understand), but it
>     can be firefox, try first in IE or safari to see what happens.
>     Also this page is suggested about the php code above:
>     http://developer.yahoo.com/javascript/howto-proxy.html
>
>     This page is in spanish, it may help you:
>     http://www.forosdelweb.com/f127/ayuda-access-restricted-uri-denied-599455/
>
>     Cheers,
>
>     Gery
>
>
>     __________________________________________________________________________________________
>     Piensa en el medio ambiente - mantenlo en la pantalla. NO lo
>     imprimas si NO es necesario.
>     Think green - keep it on the screen. Do NOT print if it is NOT
>     necessary.
>     Denken Sie an die Umwelt- bewahren Sie es auf dem Bildschirm.
>     Drucken Sie NICHT, wenn es NICHT notwendig ist.
>
>
>     ------------------------------------------------------------------------
>     Date: Wed, 4 Jul 2012 15:04:39 +0100
>     From: pedrocostaarma at sapo.pt <mailto:pedrocostaarma at sapo.pt>
>     To: gamejihou at hotmail.com <mailto:gamejihou at hotmail.com>;
>     openlayers-users at lists.osgeo.org
>     <mailto:openlayers-users at lists.osgeo.org>
>     Subject: Re: [OpenLayers-Users] Fwd: my vector data don't show up
>     - wfs
>
>     Thank you Gery.
>
>     Now my proxy is working but i got this error in firebug:
>
>     'Access to restricted URI denied'
>
>
>     My code:
>
>     http://pastebin.com/AGAFGSfn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120705/3073000c/attachment-0001.html>


More information about the Users mailing list