[mapserver-users] Mapserver installation trouble in ubuntu server

Rahkonen Jukka (Tike) jukka.rahkonen at mmmtike.fi
Wed Jun 4 04:43:06 PDT 2014


Hi,

I guess that you must tell Apache that mapserv should be run as cgi-bin script. I found the following snippet from httpd.cong file but that file is not in use and I do not know if it is valid.

<Directory "${HOME}/www/cgi-bin">
                           SetHandler cgi-script
                           <Files "mapserv">
                           SetHandler fcgid-script

-Jukka Rahkonen-

Hugo wrote:


Hi all,

I'm having some troubles with a mapserver installation in a hosted ubuntu server (12.04).
I've installed it using the regular procedures (apt-get install mapserver-bin cgi-mapserver) and i can see from the console that it is installed correctly. However, when i try to access it from the browser, using the url http:/ip_address/cgi-bin/mapserv it starts to download the bin file and does not display the typical message (No query information to decode...).

I remember that i have had this issue some time ago and don't remember how i fixed it... i know it is something really simple that i'm missing here.

Could you guys give me some help?

Kind regards,

--
Hugo Martins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140604/c3dc8c57/attachment.html>


More information about the mapserver-users mailing list