Hi Dane,<br><br>I made the change you suggested but I still get the same errors.<br><br>I'm a little concerned that I'm being really daft, because I don't have python on my web host, but I see lots of .py files in the feature server install. But my understanding is that featureserver can use python or cgi? I assume that if python isn't installed, it falls back on whatever language is used by the web host to execute cgi programs?<br>
<br>I will have another look after work and see if I can make any progress.<br><br>Rob<br><br><div><span class="gmail_quote">On 06/02/2008, <b class="gmail_sendername">Dane Springmeyer</b> <<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
<div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">Rob,</font></div>
<div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">try:</font></div>
<span class="q"><div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3"># each additional section is a 'layer', which can be accessed.</font></div>
<div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3"># see DataSources.txt for more info on configuring.</font></div>
<div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">[scribble]</font></div>
<div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">type=DBM</font></div>
</span><div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">file=</font><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 0, 213);" color="#0000d5" face="Lucida Grande" size="3">/home/gisconsu/public_html/featureserver/featureserver.scribble</font></div>
<div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">gaping_security_hole=yes</font></div>
<span class="sg"><div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px;"><font style="font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Lucida Grande" size="3">Dane</font></div>
<div style="margin: 0px;"><br></div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><br></div></span><div><div><span class="e" id="q_117ef3e5c01f9227_5"><div>On Feb 6, 2008, at 6:51 AM, Rob Dunfey wrote:</div>
<br></span></div><blockquote type="cite"><div><span class="e" id="q_117ef3e5c01f9227_7">Hi Chris, Dane & List,<br><br>Dane suggested trying to access the index.html file instead, and moving the featureserver folder to a standard web-accessible location, so I moved it into the root directory<br>
<br><a href="http://www.gisconsultancy.com/featureserver/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.gisconsultancy.com/featureserver/</a><br> <br>and now I can load the index.html file (before it was giving a Internal Server Error 500) but it still gives some errors when I try and save a shape.<br>
<br>When I try and access...<br><br><a href="http://example.com/yourdir/featureserver.cgi/scribble/all.atm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gisconsultancy.com/featureserver.cgi/scribble/all.atom</a><br>
<br>...it now asks me if I want to save the featureserver.cgi file? I think this is because it needs to create a scribble file?<br><br>Dane suggested checking that I've uploaded the cfg file, I have. Although I've modified it slightly so that it creates the 'scribble file' in the same directory as featureserver.cgi, at least that was my intention, cgf file contents below:<br>
<br># Metadata section allows you to define the default<br># service type to be created<br>[metadata]<br>default_service=GeoJSON<br><br># each additional section is a 'layer', which can be accessed.<br># see DataSources.txt for more info on configuring.<br>
[scribble]<br>type=DBM<br>file=scribble<br>gaping_security_hole=yes<br><br>Thanks for your suggestions, I'm also pinging my web host to see if its something to do with their cgi support.<br><br>Rob<br><br><div><span class="gmail_quote">On 06/02/2008, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Feb 06, 2008 at 01:24:34PM +0000, Rob Dunfey wrote:<br>> Hi,<br>><br>> I'm trying to set up feature server on my web hosting account. I tried at<br>> the weekend, but I don't think my cgi was enabled on my web host, I think<br>
> I've solved this now and my simple cgi script works.<br>><br>> <a href="http://www.gisconsultancy.com/cgi-bin/test.cgi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.gisconsultancy.com/cgi-bin/test.cgi</a><br>
><br>> However, when I try the following url I get the message below:<br> ><br>> <a href="http://gisconsultancy.com/cgi-bin/featureserver/featureserver.cgi/scribble/all.atm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gisconsultancy.com/cgi-bin/featureserver/featureserver.cgi/scribble/all.atm</a><br>
<br>I'll point out that this URL doesn't work for me at all, but the problem<br> is that you want '.atom', not '.atm'.<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br></span></div>
<span class="q"><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;">Featureserver mailing list</div><div style="margin: 0px;"><a href="mailto:Featureserver@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Featureserver@openlayers.org</a></div>
<div style="margin: 0px;"><a href="http://featureserver.org/mailman/listinfo/featureserver" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://featureserver.org/mailman/listinfo/featureserver</a></div>
</span></blockquote></div><br></div></blockquote></div><br>