<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thanks for helping me.<br>
<br>
<br>
I move my html files to a ubuntu server for testing and now i
can't put proxy to work...<br>
<br>
Apache give me this error:<br>
<br>
<br>
(13)Permission denied: exec of
'/var/www/pmapper-4.2.0/cgi-bin/proxy.py' failed<br>
Premature end of script headers: proxy.py<br>
<br>
<br>
Does anybody know the cause?<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
Em 04-07-2012 18:30, Gery . escreveu:<br>
</div>
<blockquote cite="mid:DUB117-W132AC769FB0A2FC95C4C849B0E80@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<font style="font-size:10pt;" color="#1F497D" face="Arial"
size="2"><br id="FontBreak">
</font><font style="font-size:12pt" color="#1F497D" face="Arial"
size="3">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?<br>
<br>
<br>
__________________________________________________________________________________________<br>
Piensa en el medio ambie<font style="" face="Arial">nte -
mantenlo en la pantalla. NO lo imprimas si NO es necesario.</font></font><font
style="font-size:12pt" color="#1F497D" face="Arial" size="3"><br>
</font><font style="font-size:12pt" color="#1F497D" face="Arial"
size="3">Think green - keep it on the screen. Do NOT print if
it is NOT necessary.</font><font style="font-size:12pt"
color="#1F497D" face="Arial" size="3"><br>
</font><font style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><span id="ecxresult_box" class="ecxshort_text"
lang="de"><span class="ecxhps">Denken Sie an</span> <span
class="ecxhps">die Umwelt</span></span></font><font
style="font-size:12pt" color="#1F497D" face="Arial" size="3"><span
id="ecxresult_box" lang="de"><span class="ecxhps"></span> <span
class="ecxhps">-</span> <span class="ecxhps">bewahren Sie
es</span> <span class="ecxhps">auf dem Bildschirm.</span>
<span class="ecxhps">Drucken Sie NICHT</span><span>, wenn</span>
<span class="ecxhps">es NICHT notwendig ist</span><span>.</span></span></font><br>
<br>
<br>
<div>
<hr id="stopSpelling">Date: Wed, 4 Jul 2012 18:02:59 +0100<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:gamejihou@hotmail.com">gamejihou@hotmail.com</a>; <a class="moz-txt-link-abbreviated" href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
Subject: Re: [OpenLayers-Users] Fwd: my vector data don't show
up - wfs<br>
<br>
<div class="ecxmoz-cite-prefix">Thanks for your help Gery.<br>
<br>
<br>
I'm already tried with others browsers but the wfs doesn't
show up.<br>
<span id="ecxresult_box" class="ecx" lang="en"><span
class="ecxhps">I had</span> <span class="ecxhps">found
some</span> <span class="ecxhps">links that you tell
me.</span><br>
<span class="ecxhps">I am</span><span class="ecxhps"></span>
<span class="ecxhps">tried</span> <span class="ecxhps">a
lot of alternatives and</span> <span class="ecxhps">I
not discovered</span> <span class="ecxhps">the problem</span><span
class="ecx">.</span></span><br>
You think <span id="ecxresult_box" class="ecx" lang="en"><span
class="ecxhps"></span> <span class="ecxhps">the problem
is</span> <span class="ecxhps">firefox</span><span>?</span>
<span class="ecxhps">If so</span> <span class="ecxhps">why
not</span> <span class="ecxhps">appear in</span> <span
class="ecxhps">the</span> <span class="ecxhps">IE</span>
<span class="ecxhps">wfs</span><span>?</span></span><br>
<br>
I'm confused<br>
<br>
<br>
<br>
<br>
<br>
Em 04-07-2012 17:55, Gery . escreveu:<br>
</div>
<blockquote
cite="mid:DUB117-W112086BB6D1A10763184441B0E80@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr"> <br>
<font style="font-size:12pt" color="#1F497D" face="Arial"
size="3">This one may help you also, it worked for some
people out there: <a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://www.webdeveloper.com/forum/showthread.php?t=187247"
target="_blank">http://www.webdeveloper.com/forum/showthread.php?t=187247</a><br>
<br>
Cheers,<br>
<br>
<br>
<br>
<br>
__________________________________________________________________________________________<br>
Piensa en el medio ambie<font style="" face="Arial">nte
- mantenlo en la pantalla. NO lo imprimas si NO es
necesario.</font></font><font style="font-size:12pt"
color="#1F497D" face="Arial" size="3"><br>
</font><font style="font-size:12pt" color="#1F497D"
face="Arial" size="3">Think green - keep it on the
screen. Do NOT print if it is NOT necessary.</font><font
style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><br>
</font><font style="font-size:12pt" color="#1F497D"
face="Arial" size="3"><span id="ecxresult_box"
class="ecxshort_text" lang="de"><span class="ecxhps">Denken
Sie an</span> <span class="ecxhps">die Umwelt</span></span></font><font
style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><span id="ecxresult_box" lang="de"><span
class="ecxhps"></span> <span class="ecxhps">-</span>
<span class="ecxhps">bewahren Sie es</span> <span
class="ecxhps">auf dem Bildschirm.</span> <span
class="ecxhps">Drucken Sie NICHT</span><span>, wenn</span>
<span class="ecxhps">es NICHT notwendig ist</span><span>.</span></span></font><br>
<br>
<br>
<div>
<hr id="ecxstopSpelling">From: <a
moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:gamejihou@hotmail.com">gamejihou@hotmail.com</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a>;
<a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
Subject: RE: [OpenLayers-Users] Fwd: my vector data
don't show up - wfs<br>
Date: Wed, 4 Jul 2012 16:52:22 +0000<br>
<br>
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr"> <font style="font-size:12pt"
color="#1F497D" face="Arial" size="3"><br>
Hi Pedro,<br>
<br>
I was reading about this error in google and it
seems that this is one of the solutions, you have to
use this: </font> var url = 'proxy_php.php?fn=' +
encodeURIComponent(src);<br>
<font style="font-size:12pt" color="#1F497D"
face="Arial" size="3">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: </font>
<a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://developer.yahoo.com/javascript/howto-proxy.html"
target="_blank">http://developer.yahoo.com/javascript/howto-proxy.html</a><br>
<br>
<font style="font-size:12pt" color="#1F497D"
face="Arial" size="3">This page is in spanish, it
may help you:
<a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://www.forosdelweb.com/f127/ayuda-access-restricted-uri-denied-599455/"
target="_blank">http://www.forosdelweb.com/f127/ayuda-access-restricted-uri-denied-599455/</a><br>
<br>
Cheers,<br>
<br>
Gery<br>
<br>
<br>
__________________________________________________________________________________________<br>
Piensa en el medio ambie<font style="" face="Arial">nte
- mantenlo en la pantalla. NO lo imprimas si NO es
necesario.</font></font><font
style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><br>
</font><font style="font-size:12pt" color="#1F497D"
face="Arial" size="3">Think green - keep it on the
screen. Do NOT print if it is NOT necessary.</font><font
style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><br>
</font><font style="font-size:12pt" color="#1F497D"
face="Arial" size="3"><span id="ecxresult_box"
class="ecxshort_text" lang="de"><span
class="ecxhps">Denken Sie an</span> <span
class="ecxhps">die Umwelt</span></span></font><font
style="font-size:12pt" color="#1F497D" face="Arial"
size="3"><span id="ecxresult_box" lang="de"><span
class="ecxhps"></span> <span class="ecxhps">-</span>
<span class="ecxhps">bewahren Sie es</span> <span
class="ecxhps">auf dem Bildschirm.</span> <span
class="ecxhps">Drucken Sie NICHT</span><span>,
wenn</span> <span class="ecxhps">es NICHT
notwendig ist</span><span>.</span></span></font><br>
<br>
<br>
<div>
<hr id="ecxstopSpelling">Date: Wed, 4 Jul 2012
15:04:39 +0100<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:gamejihou@hotmail.com">gamejihou@hotmail.com</a>;
<a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
Subject: Re: [OpenLayers-Users] Fwd: my vector data
don't show up - wfs<br>
<br>
<div class="ecxmoz-cite-prefix">Thank you Gery.<br>
<br>
Now my proxy is working but i got this error in
firebug:<br>
<br>
<span role="presentation" class="ecxobjectBox
ecxobjectBox-errorMessage ecxhasBreakSwitch "><span
class="ecxerrorMessage ">'Access to restricted
URI denied'</span></span><br>
<br>
<br>
My code:<br>
<br>
<a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://pastebin.com/AGAFGSfn"
target="_blank">http://pastebin.com/AGAFGSfn</a><br>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>