[Featureserver] Errors settings up feature server?

Christopher Schmidt crschmidt at metacarta.com
Wed Feb 6 10:07:55 EST 2008


On Wed, Feb 06, 2008 at 02:51:10PM +0000, Rob Dunfey wrote:
> Hi Chris, Dane & List,
> 
> 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
> 
> www.gisconsultancy.com/featureserver/
> 
> 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.
> 
> When I try and access...
> 
> http://gisconsultancy.com/featureserver.cgi/scribble/all.atom<http://example.com/yourdir/featureserver.cgi/scribble/all.atm>
> 
> ...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?

No, this is because you've moved featureserver to a place that has no
CGI permissions, so you can't run it. This isn't going to work: you're
going to have to have the featureserver.cgi in the cgi-bin directory.

> 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:

This should be fine.

> Thanks for your suggestions, I'm also pinging my web host to see if its
> something to do with their cgi support.

They probably don't have CGI support outside their cgi-bin directory:
you should move it back to where it was, and just change the URL to
.atom, and you'll probably at least get something out of it. The main
'index.html' will need moficiations to work like this: you can't serve
HTMl from in the cgi-bin directory, and you can't serve CGI outside of
it, so you'll have to put index.html outside of it and then update the
paths in the code. This shouldn't be too difficult if you know HTML  + a
bit of JS.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list