[mapserver-users] Problem with mapserver & python mapscript

Puneet Kishor punk.kish at gmail.com
Tue May 14 10:29:49 PDT 2013


On May 14, 2013, at 10:24 AM, boesiii <boesiii at yahoo.com> wrote:

> When I try to test tilecache on Firefox using:
> 
> http://localhost/tilecache-2.11/tilecache.cgi?LAYERS=basic&SERVICE=WMS%20&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90%20&WIDTH=256&HEIGHT=256
> 
> The output on my screen shows the contents of tilecache.cgi, see below:
> 
> #!/usr/bin python
> 
> from TileCache import Service, cgiHandler, cfgfiles
> 
> if __name__ == '__main__':
>    svc = Service.load(*cfgfiles)
>    cgiHandler(svc)
> 
> 


You need set up your web server to handle cgi. Check your web server documentation.

--
Puneet Kishor


More information about the MapServer-users mailing list